pub enum Frame<'a, 'id> {
Direct,
Prefixed {
prefix: &'a [u8],
remaining: Range<'id>,
},
}Expand description
A borrowed prefix and the remaining range bound to its original datagram.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl<'a, 'id> !Send for Frame<'a, 'id>
impl<'a, 'id> !Sync for Frame<'a, 'id>
impl<'a, 'id> Forget for Frame<'a, 'id>
impl<'a, 'id> Freeze for Frame<'a, 'id>
impl<'a, 'id> RefUnwindSafe for Frame<'a, 'id>
impl<'a, 'id> Unpin for Frame<'a, 'id>
impl<'a, 'id> UnsafeUnpin for Frame<'a, 'id>
impl<'a, 'id> UnwindSafe for Frame<'a, 'id>
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