Enum fuchsia_inspect::reader::snapshot::BackingBuffer
source · pub enum BackingBuffer {
Bytes(Vec<u8>),
Container(Container),
}
Variants§
Trait Implementations§
source§impl BlockContainer for BackingBuffer
impl BlockContainer for BackingBuffer
source§impl Debug for BackingBuffer
impl Debug for BackingBuffer
source§impl<'a> From<&'a BackingBuffer> for BlockIterator<'a>
impl<'a> From<&'a BackingBuffer> for BlockIterator<'a>
source§fn from(container: &'a BackingBuffer) -> Self
fn from(container: &'a BackingBuffer) -> Self
Converts to this type from the input type.
source§impl ReadBytes for BackingBuffer
impl ReadBytes for BackingBuffer
source§fn get_slice_at(&self, offset: usize, size: usize) -> Option<&[u8]>
fn get_slice_at(&self, offset: usize, size: usize) -> Option<&[u8]>
Returns a slice of the given size at the given offset if one exists of the exact size.
Auto Trait Implementations§
impl Freeze for BackingBuffer
impl RefUnwindSafe for BackingBuffer
impl Send for BackingBuffer
impl Sync for BackingBuffer
impl Unpin for BackingBuffer
impl UnwindSafe for BackingBuffer
Blanket Implementations§
source§impl<T> BlockAccessorExt for Twhere
T: ReadBytes,
impl<T> BlockAccessorExt for Twhere
T: ReadBytes,
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