pub struct OspfPacketType(pub u8);
Tuple Fields§
§0: u8
Implementations§
Source§impl OspfPacketType
impl OspfPacketType
pub const Hello: OspfPacketType
pub const DatabaseDescription: OspfPacketType
pub const LinkStateRequest: OspfPacketType
pub const LinkStateUpdate: OspfPacketType
pub const LinkStateAcknowledgment: OspfPacketType
Trait Implementations§
Source§impl Clone for OspfPacketType
impl Clone for OspfPacketType
Source§fn clone(&self) -> OspfPacketType
fn clone(&self) -> OspfPacketType
Returns a duplicate 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 OspfPacketType
impl Debug for OspfPacketType
Source§impl Default for OspfPacketType
impl Default for OspfPacketType
Source§fn default() -> OspfPacketType
fn default() -> OspfPacketType
Returns the “default value” for a type. Read more
Source§impl Display for OspfPacketType
impl Display for OspfPacketType
Source§impl<'nom> Parse<&'nom [u8]> for OspfPacketType
impl<'nom> Parse<&'nom [u8]> for OspfPacketType
Source§impl PartialEq for OspfPacketType
impl PartialEq for OspfPacketType
impl Copy for OspfPacketType
impl Eq for OspfPacketType
impl StructuralPartialEq for OspfPacketType
Auto Trait Implementations§
impl Freeze for OspfPacketType
impl RefUnwindSafe for OspfPacketType
impl Send for OspfPacketType
impl Sync for OspfPacketType
impl Unpin for OspfPacketType
impl UnwindSafe for OspfPacketType
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