pub enum ByteSlice<'a> {
Slice(&'a [u8]),
Vector(Vec<u8>),
}Variants§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for ByteSlice<'a>
impl<'a> RefUnwindSafe for ByteSlice<'a>
impl<'a> Send for ByteSlice<'a>
impl<'a> Sync for ByteSlice<'a>
impl<'a> Unpin for ByteSlice<'a>
impl<'a> UnwindSafe for ByteSlice<'a>
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