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