Enum bonsaidb::core::transmog_pot::pot::reader::BufferedBytes
pub enum BufferedBytes<'de> {
Data(&'de [u8]),
Scratch,
}
Expand description
Bytes that have been read into a buffer.
Variants§
Data(&'de [u8])
The bytes that have been read can be borrowed from the source.
Scratch
The bytes that have been read have been stored in the scratch buffer passed to the function reading bytes.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'de> RefUnwindSafe for BufferedBytes<'de>
impl<'de> Send for BufferedBytes<'de>
impl<'de> Sync for BufferedBytes<'de>
impl<'de> Unpin for BufferedBytes<'de>
impl<'de> UnwindSafe for BufferedBytes<'de>
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere T: 'a,
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