Struct serde_cbor::de::SliceReadFixed
source · [−]pub struct SliceReadFixed<'a, 'b> { /* private fields */ }Expand description
A CBOR input source that reads from a slice of bytes using a fixed size scratch buffer.
SliceRead and MutSliceRead are usually
preferred over this, as they can handle indefinite length items.
Implementations
Trait Implementations
sourceimpl<'a, 'b> Debug for SliceReadFixed<'a, 'b>
impl<'a, 'b> Debug for SliceReadFixed<'a, 'b>
impl<'a, 'b> Read<'a> for SliceReadFixed<'a, 'b>
Auto Trait Implementations
impl<'a, 'b> RefUnwindSafe for SliceReadFixed<'a, 'b>
impl<'a, 'b> Send for SliceReadFixed<'a, 'b>
impl<'a, 'b> Sync for SliceReadFixed<'a, 'b>
impl<'a, 'b> Unpin for SliceReadFixed<'a, 'b>
impl<'a, 'b> !UnwindSafe for SliceReadFixed<'a, 'b>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more