pub struct NetworkInterfaceMediaOptions {
pub current: Option<PropertyList>,
pub active: Option<PropertyList>,
pub available: Option<PropertyList>,
}Expand description
Re-exports the corresponding SystemConfiguration wrappers.
Wraps SCNetworkInterfaceCopyMediaOptions results.
Fields§
§current: Option<PropertyList>Wraps the current media options from SCNetworkInterfaceCopyMediaOptions.
active: Option<PropertyList>Wraps the active media options from SCNetworkInterfaceCopyMediaOptions.
available: Option<PropertyList>Wraps the available media options from SCNetworkInterfaceCopyMediaOptions.
Trait Implementations§
Source§impl Clone for NetworkInterfaceMediaOptions
impl Clone for NetworkInterfaceMediaOptions
Source§fn clone(&self) -> NetworkInterfaceMediaOptions
fn clone(&self) -> NetworkInterfaceMediaOptions
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 moreAuto Trait Implementations§
impl Freeze for NetworkInterfaceMediaOptions
impl RefUnwindSafe for NetworkInterfaceMediaOptions
impl !Send for NetworkInterfaceMediaOptions
impl !Sync for NetworkInterfaceMediaOptions
impl Unpin for NetworkInterfaceMediaOptions
impl UnsafeUnpin for NetworkInterfaceMediaOptions
impl UnwindSafe for NetworkInterfaceMediaOptions
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