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