pub struct Bytes(pub Vec<u8>);
Tuple Fields§
§0: Vec<u8>
Implementations§
Trait Implementations§
source§impl PartialEq<Bytes> for Bytes
impl PartialEq<Bytes> for Bytes
impl CanBePlacedInVec for Bytes
impl Eq for Bytes
impl StructuralEq for Bytes
impl StructuralPartialEq for Bytes
Auto Trait Implementations§
impl RefUnwindSafe for Bytes
impl Send for Bytes
impl Sync for Bytes
impl Unpin for Bytes
impl UnwindSafe for Bytes
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