pub struct OpGetInterfaceDo<'r> { /* private fields */ }Available on crate feature
nl80211 only.Expand description
Get information about an interface or dump a list of all interfaces
Request attributes:
Reply attributes:
Implementations§
Source§impl<'r> OpGetInterfaceDo<'r>
impl<'r> OpGetInterfaceDo<'r>
pub fn new(request: Request<'r>) -> Self
pub fn encode_request<'buf>( buf: &'buf mut Vec<u8>, ) -> PushNl80211Attrs<&'buf mut Vec<u8>>
pub fn encode(&mut self) -> PushNl80211Attrs<&mut Vec<u8>>
pub fn into_encoder(self) -> PushNl80211Attrs<RequestBuf<'r>>
pub fn decode_request<'a>(buf: &'a [u8]) -> IterableNl80211Attrs<'a> ⓘ
Trait Implementations§
Source§impl<'r> Debug for OpGetInterfaceDo<'r>
impl<'r> Debug for OpGetInterfaceDo<'r>
Source§impl NetlinkRequest for OpGetInterfaceDo<'_>
impl NetlinkRequest for OpGetInterfaceDo<'_>
type ReplyType<'buf> = IterableNl80211Attrs<'buf>
fn decode_reply<'buf>(buf: &'buf [u8]) -> Self::ReplyType<'buf>
Auto Trait Implementations§
impl<'r> !UnwindSafe for OpGetInterfaceDo<'r>
impl<'r> Freeze for OpGetInterfaceDo<'r>
impl<'r> RefUnwindSafe for OpGetInterfaceDo<'r>
impl<'r> Send for OpGetInterfaceDo<'r>
impl<'r> Sync for OpGetInterfaceDo<'r>
impl<'r> Unpin for OpGetInterfaceDo<'r>
impl<'r> UnsafeUnpin for OpGetInterfaceDo<'r>
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