pub struct BondStatus { /* private fields */ }Expand description
Re-exports the corresponding SystemConfiguration wrappers.
Wraps SCBondStatusRef.
Implementations§
Source§impl BondStatus
impl BondStatus
Sourcepub fn device_aggregation_status_key() -> Result<String>
pub fn device_aggregation_status_key() -> Result<String>
Wraps SCBondStatusCopyDeviceAggregationStatusKey.
Sourcepub fn device_collecting_key() -> Result<String>
pub fn device_collecting_key() -> Result<String>
Wraps SCBondStatusCopyDeviceCollectingKey.
Sourcepub fn device_distributing_key() -> Result<String>
pub fn device_distributing_key() -> Result<String>
Wraps SCBondStatusCopyDeviceDistributingKey.
Sourcepub fn member_interfaces(&self) -> Vec<NetworkInterface>
pub fn member_interfaces(&self) -> Vec<NetworkInterface>
Wraps SCBondStatusCopyMemberInterfaces.
Sourcepub fn interface_status(
&self,
interface: Option<&NetworkInterface>,
) -> Option<PropertyList>
pub fn interface_status( &self, interface: Option<&NetworkInterface>, ) -> Option<PropertyList>
Wraps SCBondStatusCopyInterfaceStatus.
Sourcepub fn bond_status(&self) -> Result<PropertyList>
pub fn bond_status(&self) -> Result<PropertyList>
Wraps a helper on SCBondStatusRef.
Trait Implementations§
Source§impl Clone for BondStatus
impl Clone for BondStatus
Source§fn clone(&self) -> BondStatus
fn clone(&self) -> BondStatus
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 BondStatus
impl RefUnwindSafe for BondStatus
impl !Send for BondStatus
impl !Sync for BondStatus
impl Unpin for BondStatus
impl UnsafeUnpin for BondStatus
impl UnwindSafe for BondStatus
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