pub struct NextHopPathAttribute(pub Ipv4Addr);Tuple Fields§
§0: Ipv4AddrImplementations§
Source§impl NextHopPathAttribute
impl NextHopPathAttribute
pub fn from_wire<'a>( _: &ParserContext, buf: &'a [u8], ) -> IResult<&'a [u8], Self, BgpParserError<&'a [u8]>>
pub fn to_wire(&self, _ctx: &ParserContext, out: &mut BytesMut) -> Result<()>
pub fn wire_len(&self, _: &ParserContext) -> Result<u32>
Trait Implementations§
Source§impl Clone for NextHopPathAttribute
impl Clone for NextHopPathAttribute
Source§fn clone(&self) -> NextHopPathAttribute
fn clone(&self) -> NextHopPathAttribute
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NextHopPathAttribute
impl Debug for NextHopPathAttribute
Source§impl<'de> Deserialize<'de> for NextHopPathAttribute
impl<'de> Deserialize<'de> for NextHopPathAttribute
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for NextHopPathAttribute
Source§impl PartialEq for NextHopPathAttribute
impl PartialEq for NextHopPathAttribute
Source§fn eq(&self, other: &NextHopPathAttribute) -> bool
fn eq(&self, other: &NextHopPathAttribute) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for NextHopPathAttribute
impl Serialize for NextHopPathAttribute
impl StructuralPartialEq for NextHopPathAttribute
Auto Trait Implementations§
impl Freeze for NextHopPathAttribute
impl RefUnwindSafe for NextHopPathAttribute
impl Send for NextHopPathAttribute
impl Sync for NextHopPathAttribute
impl Unpin for NextHopPathAttribute
impl UnsafeUnpin for NextHopPathAttribute
impl UnwindSafe for NextHopPathAttribute
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