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