pub struct PushAddrAttrs<Prev: Rec> { /* private fields */ }Available on crate feature
rt-addr only.Implementations§
Source§impl<Prev: Rec> PushAddrAttrs<Prev>
impl<Prev: Rec> PushAddrAttrs<Prev>
pub fn new(prev: Prev) -> Self
pub fn end_nested(self) -> Prev
pub fn push_address(self, value: IpAddr) -> Self
pub fn push_local(self, value: IpAddr) -> Self
pub fn push_label(self, value: &CStr) -> Self
pub fn push_label_bytes(self, value: &[u8]) -> Self
pub fn push_broadcast(self, value: IpAddr) -> Self
pub fn push_anycast(self, value: &[u8]) -> Self
pub fn push_cacheinfo(self, value: PushIfaCacheinfo) -> Self
pub fn push_multicast(self, value: &[u8]) -> Self
Sourcepub fn push_flags(self, value: u32) -> Self
pub fn push_flags(self, value: u32) -> Self
Associated type: “IfaFlags” (1 bit per enumeration)
pub fn push_rt_priority(self, value: u32) -> Self
pub fn push_target_netnsid(self, value: &[u8]) -> Self
pub fn push_proto(self, value: u8) -> Self
Trait Implementations§
Source§impl<Prev: Rec> Drop for PushAddrAttrs<Prev>
impl<Prev: Rec> Drop for PushAddrAttrs<Prev>
Auto Trait Implementations§
impl<Prev> Freeze for PushAddrAttrs<Prev>where
Prev: Freeze,
impl<Prev> RefUnwindSafe for PushAddrAttrs<Prev>where
Prev: RefUnwindSafe,
impl<Prev> Send for PushAddrAttrs<Prev>where
Prev: Send,
impl<Prev> Sync for PushAddrAttrs<Prev>where
Prev: Sync,
impl<Prev> Unpin for PushAddrAttrs<Prev>where
Prev: Unpin,
impl<Prev> UnwindSafe for PushAddrAttrs<Prev>where
Prev: UnwindSafe,
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