pub fn try_slice_owned<O, F, E>(owner: O, slicer: F) -> Result<OwnedSlice, E>
Expand description
Makes an OwnedSlice
out of an owner
and a slicer
function that can fail.
See slice_owned
for the infallible version.
pub fn try_slice_owned<O, F, E>(owner: O, slicer: F) -> Result<OwnedSlice, E>
Makes an OwnedSlice
out of an owner
and a slicer
function that can fail.
See slice_owned
for the infallible version.