Struct netlink_packet_core::done::DoneMessage
source · #[non_exhaustive]pub struct DoneMessage {
pub code: i32,
pub extended_ack: Vec<u8>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.code: i32
§extended_ack: Vec<u8>
Trait Implementations§
source§impl Clone for DoneMessage
impl Clone for DoneMessage
source§fn clone(&self) -> DoneMessage
fn clone(&self) -> DoneMessage
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 Debug for DoneMessage
impl Debug for DoneMessage
source§impl Default for DoneMessage
impl Default for DoneMessage
source§fn default() -> DoneMessage
fn default() -> DoneMessage
Returns the “default value” for a type. Read more
source§impl Emitable for DoneMessage
impl Emitable for DoneMessage
source§impl<'buffer, T: AsRef<[u8]> + 'buffer> Parseable<DoneBuffer<&'buffer T>> for DoneMessage
impl<'buffer, T: AsRef<[u8]> + 'buffer> Parseable<DoneBuffer<&'buffer T>> for DoneMessage
source§fn parse(buf: &DoneBuffer<&'buffer T>) -> Result<DoneMessage, DecodeError>
fn parse(buf: &DoneBuffer<&'buffer T>) -> Result<DoneMessage, DecodeError>
Deserialize the current type.
source§impl PartialEq<DoneMessage> for DoneMessage
impl PartialEq<DoneMessage> for DoneMessage
source§fn eq(&self, other: &DoneMessage) -> bool
fn eq(&self, other: &DoneMessage) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for DoneMessage
impl StructuralEq for DoneMessage
impl StructuralPartialEq for DoneMessage
Auto Trait Implementations§
impl RefUnwindSafe for DoneMessage
impl Send for DoneMessage
impl Sync for DoneMessage
impl Unpin for DoneMessage
impl UnwindSafe for DoneMessage
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