Skip to main content

BytesSlice

Struct BytesSlice 

Source
pub struct BytesSlice<'a>(/* private fields */);

Implementations§

Source§

impl<'a> BytesSlice<'a>

Source

pub fn new<'b>(bytes_slice: &'b [&'a [u8]]) -> &'b BytesSlice<'a>

Trait Implementations§

Source§

impl<'a> Debug for BytesSlice<'a>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl<'a> Freeze for BytesSlice<'a>

§

impl<'a> RefUnwindSafe for BytesSlice<'a>

§

impl<'a> Send for BytesSlice<'a>

§

impl<'a> !Sized for BytesSlice<'a>

§

impl<'a> Sync for BytesSlice<'a>

§

impl<'a> Unpin for BytesSlice<'a>

§

impl<'a> UnsafeUnpin for BytesSlice<'a>

§

impl<'a> UnwindSafe for BytesSlice<'a>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more