pub struct OpNapiGetDo<'r> { /* private fields */ }Available on crate feature
netdev only.Expand description
Get information about NAPI instances configured on the system.
Request attributes:
Reply attributes:
Implementations§
Source§impl<'r> OpNapiGetDo<'r>
impl<'r> OpNapiGetDo<'r>
pub fn new(request: Request<'r>) -> Self
pub fn encode_request<'buf>( buf: &'buf mut Vec<u8>, ) -> PushNapi<&'buf mut Vec<u8>>
pub fn encode(&mut self) -> PushNapi<&mut Vec<u8>>
pub fn into_encoder(self) -> PushNapi<RequestBuf<'r>>
pub fn decode_request<'a>(buf: &'a [u8]) -> IterableNapi<'a> ⓘ
Trait Implementations§
Source§impl<'r> Debug for OpNapiGetDo<'r>
impl<'r> Debug for OpNapiGetDo<'r>
Source§impl NetlinkRequest for OpNapiGetDo<'_>
impl NetlinkRequest for OpNapiGetDo<'_>
type ReplyType<'buf> = IterableNapi<'buf>
fn decode_reply<'buf>(buf: &'buf [u8]) -> Self::ReplyType<'buf>
Auto Trait Implementations§
impl<'r> Freeze for OpNapiGetDo<'r>
impl<'r> RefUnwindSafe for OpNapiGetDo<'r>
impl<'r> Send for OpNapiGetDo<'r>
impl<'r> Sync for OpNapiGetDo<'r>
impl<'r> Unpin for OpNapiGetDo<'r>
impl<'r> UnsafeUnpin for OpNapiGetDo<'r>
impl<'r> !UnwindSafe for OpNapiGetDo<'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