pub struct Entry { /* private fields */ }Implementations§
Source§impl Entry
impl Entry
pub fn new( address_family_identifier: Identifier, route_tag: RouteTag, ip_address: Ipv4Addr, subnet_mask: Ipv4Addr, next_hop: Ipv4Addr, metric: Metric, ) -> Self
pub fn get_address_family_identifier(&self) -> Identifier
pub fn get_route_tag(&self) -> RouteTag
pub fn get_ip_address(&self) -> Ipv4Addr
pub fn get_subnet_mask(&self) -> Ipv4Addr
pub fn get_next_hop(&self) -> Ipv4Addr
pub fn get_metric(&self) -> Metric
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Entry
impl RefUnwindSafe for Entry
impl Send for Entry
impl Sync for Entry
impl Unpin for Entry
impl UnwindSafe for Entry
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