#[repr(C)]pub struct NetConn_Route {
pub iface: [c_char; 256],
pub destination: NetConn_NetAddr,
pub gateway: NetConn_NetAddr,
pub hasGateway: i32,
pub isDefaultRoute: i32,
}Expand description
@brief Defines the route configuration information.
@since 11 @version 1.0
Fields§
§iface: [c_char; 256]Network interface
destination: NetConn_NetAddrDestination address
gateway: NetConn_NetAddrGateway address
hasGateway: i32Gateway exists or not
isDefaultRoute: i32Default route or not
Trait Implementations§
Source§impl Clone for NetConn_Route
impl Clone for NetConn_Route
Source§fn clone(&self) -> NetConn_Route
fn clone(&self) -> NetConn_Route
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 NetConn_Route
impl Debug for NetConn_Route
impl Copy for NetConn_Route
Auto Trait Implementations§
impl Freeze for NetConn_Route
impl RefUnwindSafe for NetConn_Route
impl Send for NetConn_Route
impl Sync for NetConn_Route
impl Unpin for NetConn_Route
impl UnsafeUnpin for NetConn_Route
impl UnwindSafe for NetConn_Route
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