pub struct RawBytes {
pub status: u8,
pub data: Vec<u8>,
}Expand description
An uninterpreted run of bytes with a status byte, used as a fallback.
Fields§
§status: u8Status byte.
data: Vec<u8>Data bytes following the status byte.
Trait Implementations§
impl Eq for RawBytes
impl StructuralPartialEq for RawBytes
Auto Trait Implementations§
impl Freeze for RawBytes
impl RefUnwindSafe for RawBytes
impl Send for RawBytes
impl Sync for RawBytes
impl Unpin for RawBytes
impl UnsafeUnpin for RawBytes
impl UnwindSafe for RawBytes
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