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