pub struct NetworkInterfaceRequestExtension(_);Expand description
网络接口设置扩展
Implementations
sourceimpl 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
sourceimpl Clone for NetworkInterfaceRequestExtension
impl Clone for NetworkInterfaceRequestExtension
sourcefn clone(&self) -> NetworkInterfaceRequestExtension
fn clone(&self) -> NetworkInterfaceRequestExtension
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations
impl RefUnwindSafe for NetworkInterfaceRequestExtension
impl Send for NetworkInterfaceRequestExtension
impl Sync for NetworkInterfaceRequestExtension
impl Unpin for NetworkInterfaceRequestExtension
impl UnwindSafe for NetworkInterfaceRequestExtension
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more