pub struct RawData {
pub name: Name,
pub content: Option<Bytes>,
}Expand description
Parse Data name and Content from raw wire bytes.
Fields§
§name: Name§content: Option<Bytes>Auto Trait Implementations§
impl !Freeze for RawData
impl RefUnwindSafe for RawData
impl Send for RawData
impl Sync for RawData
impl Unpin for RawData
impl UnwindSafe for RawData
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