pub enum OpDelrouteDoRequest<'a> {
Show 28 variants
Dst(&'a [u8]),
Src(&'a [u8]),
Iif(u32),
Oif(u32),
Gateway(&'a [u8]),
Priority(u32),
Prefsrc(&'a [u8]),
Metrics(IterableMetrics<'a>),
Multipath(&'a [u8]),
Flow(u32),
Cacheinfo(PushRtaCacheinfo),
Table(u32),
Mark(u32),
MfcStats(&'a [u8]),
Via(&'a [u8]),
Newdst(&'a [u8]),
Pref(u8),
EncapType(u16),
Encap(&'a [u8]),
Expires(u32),
Pad(&'a [u8]),
Uid(u32),
TtlPropagate(u8),
IpProto(u8),
Sport(u16),
Dport(u16),
NhId(u32),
Flowlabel(u32),
}Available on crate feature
rt-route only.Expand description
Delete an existing route
Variants§
Dst(&'a [u8])
Src(&'a [u8])
Iif(u32)
Oif(u32)
Gateway(&'a [u8])
Priority(u32)
Prefsrc(&'a [u8])
Metrics(IterableMetrics<'a>)
Multipath(&'a [u8])
Flow(u32)
Cacheinfo(PushRtaCacheinfo)
Table(u32)
Mark(u32)
MfcStats(&'a [u8])
Via(&'a [u8])
Newdst(&'a [u8])
Pref(u8)
EncapType(u16)
Encap(&'a [u8])
Expires(u32)
Pad(&'a [u8])
Uid(u32)
TtlPropagate(u8)
IpProto(u8)
Sport(u16)
Dport(u16)
NhId(u32)
Flowlabel(u32)
Implementations§
Source§impl OpDelrouteDoRequest<'_>
impl OpDelrouteDoRequest<'_>
pub fn new<'a>(buf: &'a [u8]) -> (PushRtmsg, IterableOpDelrouteDoRequest<'a>)
Trait Implementations§
Source§impl<'a> Clone for OpDelrouteDoRequest<'a>
impl<'a> Clone for OpDelrouteDoRequest<'a>
Source§fn clone(&self) -> OpDelrouteDoRequest<'a>
fn clone(&self) -> OpDelrouteDoRequest<'a>
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 moreAuto Trait Implementations§
impl<'a> Freeze for OpDelrouteDoRequest<'a>
impl<'a> RefUnwindSafe for OpDelrouteDoRequest<'a>
impl<'a> Send for OpDelrouteDoRequest<'a>
impl<'a> Sync for OpDelrouteDoRequest<'a>
impl<'a> Unpin for OpDelrouteDoRequest<'a>
impl<'a> UnwindSafe for OpDelrouteDoRequest<'a>
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