Skip to main content

try_pageout

Function try_pageout 

Source
pub fn try_pageout(chunks: &mut [Vec<u64>]) -> Result<Handle>
Available on crate feature pager and Unix only.
Expand description

Fallible counterpart to pageout. Returns the underlying I/O error instead of panicking. The swap backend cannot fail at I/O, so this is equivalent to Ok(pageout(chunks)) when backend is Backend::Swap.