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
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 16 bytes