pub struct BondInterface { /* private fields */ }Implementations§
Source§impl BondInterface
impl BondInterface
pub fn copy_all(preferences: &Preferences) -> Vec<Self>
pub fn copy_available_member_interfaces( preferences: &Preferences, ) -> Vec<NetworkInterface>
pub fn create(preferences: &Preferences) -> Result<Self>
pub fn member_interfaces(&self) -> Vec<NetworkInterface>
pub fn options(&self) -> Option<PropertyList>
pub fn remove(&self) -> Result<()>
pub fn set_localized_display_name(&self, name: &str) -> Result<()>
pub fn set_member_interfaces(&self, members: &[NetworkInterface]) -> Result<()>
pub fn set_options(&self, options: &PropertyList) -> Result<()>
pub fn status(&self) -> Option<BondStatus>
pub fn as_network_interface(&self) -> NetworkInterface
Trait Implementations§
Source§impl Clone for BondInterface
impl Clone for BondInterface
Source§fn clone(&self) -> BondInterface
fn clone(&self) -> BondInterface
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 BondInterface
impl RefUnwindSafe for BondInterface
impl !Send for BondInterface
impl !Sync for BondInterface
impl Unpin for BondInterface
impl UnsafeUnpin for BondInterface
impl UnwindSafe for BondInterface
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