pub struct OpGetDo<'r> { /* private fields */ }Available on crate feature
conntrack only.Expand description
get / dump entries
Request attributes:
Reply attributes:
- .get_tuple_orig()
- .get_tuple_reply()
- .get_status()
- .get_protoinfo()
- .get_help()
- .get_nat_src()
- .get_timeout()
- .get_mark()
- .get_counters_orig()
- .get_counters_reply()
- .get_use()
- .get_id()
- .get_nat_dst()
- .get_tuple_master()
- .get_seq_adj_orig()
- .get_seq_adj_reply()
- .get_zone()
- .get_secctx()
- .get_labels()
- .get_synproxy()
Implementations§
Source§impl<'r> OpGetDo<'r>
impl<'r> OpGetDo<'r>
pub fn new(request: Request<'r>, header: &Nfgenmsg) -> Self
pub fn encode_request<'buf>( buf: &'buf mut Vec<u8>, header: &Nfgenmsg, ) -> PushConntrackAttrs<&'buf mut Vec<u8>>
pub fn encode(&mut self) -> PushConntrackAttrs<&mut Vec<u8>>
pub fn into_encoder(self) -> PushConntrackAttrs<RequestBuf<'r>>
pub fn decode_request<'a>( buf: &'a [u8], ) -> (Nfgenmsg, IterableConntrackAttrs<'a>)
Trait Implementations§
Source§impl NetlinkRequest for OpGetDo<'_>
impl NetlinkRequest for OpGetDo<'_>
type ReplyType<'buf> = (Nfgenmsg, IterableConntrackAttrs<'buf>)
fn decode_reply<'buf>(buf: &'buf [u8]) -> Self::ReplyType<'buf>
Auto Trait Implementations§
impl<'r> !UnwindSafe for OpGetDo<'r>
impl<'r> Freeze for OpGetDo<'r>
impl<'r> RefUnwindSafe for OpGetDo<'r>
impl<'r> Send for OpGetDo<'r>
impl<'r> Sync for OpGetDo<'r>
impl<'r> Unpin for OpGetDo<'r>
impl<'r> UnsafeUnpin for OpGetDo<'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