pub struct UnknownOptData { /* private fields */ }
Implementations§
Source§impl UnknownOptData
impl UnknownOptData
pub fn from_bytes(code: OptionCode, data: Bytes) -> Self
pub fn code(&self) -> OptionCode
pub fn data(&self) -> &Bytes
Trait Implementations§
Source§impl Clone for UnknownOptData
impl Clone for UnknownOptData
Source§fn clone(&self) -> UnknownOptData
fn clone(&self) -> UnknownOptData
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Compose for UnknownOptData
impl Compose for UnknownOptData
Source§impl Debug for UnknownOptData
impl Debug for UnknownOptData
Auto Trait Implementations§
impl !Freeze for UnknownOptData
impl RefUnwindSafe for UnknownOptData
impl Send for UnknownOptData
impl Sync for UnknownOptData
impl Unpin for UnknownOptData
impl UnwindSafe for UnknownOptData
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