pub struct Slice<'a, 'data> { /* private fields */ }Expand description
Prefix selected from one Bytes cursor and not yet committed.
Implementations§
Auto Trait Implementations§
impl<'a, 'data> !UnwindSafe for Slice<'a, 'data>
impl<'a, 'data> Forget for Slice<'a, 'data>
impl<'a, 'data> Freeze for Slice<'a, 'data>
impl<'a, 'data> RefUnwindSafe for Slice<'a, 'data>
impl<'a, 'data> Send for Slice<'a, 'data>
impl<'a, 'data> Sync for Slice<'a, 'data>
impl<'a, 'data> Unpin for Slice<'a, 'data>
impl<'a, 'data> UnsafeUnpin for Slice<'a, 'data>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more