pub struct OpLinkinfoSetDo<'r> { /* private fields */ }Available on crate feature
ethtool only.Expand description
Set link info.
Request attributes:
Implementations§
Source§impl<'r> OpLinkinfoSetDo<'r>
impl<'r> OpLinkinfoSetDo<'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 OpLinkinfoSetDo<'r>
impl<'r> Debug for OpLinkinfoSetDo<'r>
Source§impl NetlinkRequest for OpLinkinfoSetDo<'_>
impl NetlinkRequest for OpLinkinfoSetDo<'_>
type ReplyType<'buf> = IterableLinkinfo<'buf>
fn decode_reply<'buf>(buf: &'buf [u8]) -> Self::ReplyType<'buf>
Auto Trait Implementations§
impl<'r> Freeze for OpLinkinfoSetDo<'r>
impl<'r> RefUnwindSafe for OpLinkinfoSetDo<'r>
impl<'r> Send for OpLinkinfoSetDo<'r>
impl<'r> Sync for OpLinkinfoSetDo<'r>
impl<'r> Unpin for OpLinkinfoSetDo<'r>
impl<'r> UnsafeUnpin for OpLinkinfoSetDo<'r>
impl<'r> !UnwindSafe for OpLinkinfoSetDo<'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