Struct netlink_packet_route::rtnl::route::nlas::NextHop [−][src]
pub struct NextHop {
pub flags: NextHopFlags,
pub hops: u8,
pub interface_id: u32,
pub gateway: Option<IpAddr>,
}
Fields
flags: NextHopFlags
Next-hop flags (see NextHopFlags
)
hops: u8
Next-hop priority
interface_id: u32
Interface index for the next-hop
gateway: Option<IpAddr>
Gateway address (it is actually encoded as an RTA_GATEWAY
nla)
Trait Implementations
Deserialize the current type.
Auto Trait Implementations
impl RefUnwindSafe for NextHop
impl UnwindSafe for NextHop
Blanket Implementations
Mutably borrows from an owned value. Read more