pub struct Segments<'r, R: Read, P: Parser> { /* private fields */ }
Expand description
A sequence of CBOR segments
CBOR allows for bytes or text items to be segmented. This type represents the state of that segmented input stream.
Implementations§
Auto Trait Implementations§
impl<'r, R, P> Freeze for Segments<'r, R, P>
impl<'r, R, P> RefUnwindSafe for Segments<'r, R, P>where
P: RefUnwindSafe,
R: RefUnwindSafe,
impl<'r, R, P> Send for Segments<'r, R, P>
impl<'r, R, P> Sync for Segments<'r, R, P>
impl<'r, R, P> Unpin for Segments<'r, R, P>where
P: Unpin,
impl<'r, R, P> !UnwindSafe for Segments<'r, R, P>
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