pub struct NetworkInterfaceRequestExtension(/* private fields */);
Expand description
网络接口设置扩展
Implementations§
Source§impl NetworkInterfaceRequestExtension
impl NetworkInterfaceRequestExtension
Sourcepub fn new(value: NetworkInterface) -> Self
pub fn new(value: NetworkInterface) -> Self
创建扩展类型
Sourcepub fn get(&self) -> &NetworkInterface
pub fn get(&self) -> &NetworkInterface
获取扩展类型的值
Trait Implementations§
Source§impl Clone for NetworkInterfaceRequestExtension
impl Clone for NetworkInterfaceRequestExtension
Source§fn clone(&self) -> NetworkInterfaceRequestExtension
fn clone(&self) -> NetworkInterfaceRequestExtension
Returns a copy of the value. Read more
1.0.0 · 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 NetworkInterfaceRequestExtension
impl RefUnwindSafe for NetworkInterfaceRequestExtension
impl Send for NetworkInterfaceRequestExtension
impl Sync for NetworkInterfaceRequestExtension
impl Unpin for NetworkInterfaceRequestExtension
impl UnwindSafe for NetworkInterfaceRequestExtension
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