pub struct V4Config {
pub method: Method,
pub address: [u8; 4],
pub prefix: u8,
pub gateway: [u8; 4],
}Expand description
PROP_IPV4_CONFIG.
Fields§
§method: Method§address: [u8; 4]Meaningful only under Method::Static.
prefix: u8Meaningful only under Method::Static. At most 32.
gateway: [u8; 4]Meaningful only under Method::Static. All-zero for no
default route.
Implementations§
Trait Implementations§
impl Copy for V4Config
impl Eq for V4Config
impl StructuralPartialEq for V4Config
Auto Trait Implementations§
impl Freeze for V4Config
impl RefUnwindSafe for V4Config
impl Send for V4Config
impl Sync for V4Config
impl Unpin for V4Config
impl UnwindSafe for V4Config
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)