pub struct Request<'buf> { /* private fields */ }Available on crate feature
netdev only.Implementations§
Source§impl<'buf> Request<'buf>
impl<'buf> Request<'buf>
pub fn new_with_buf(buf: &'buf mut Vec<u8>) -> Self
pub fn new_extend(buf: &'buf mut Vec<u8>) -> Self
pub fn buf(&self) -> &Vec<u8> ⓘ
pub fn buf_mut(&mut self) -> &mut Vec<u8> ⓘ
Sourcepub fn set_create(self) -> Self
pub fn set_create(self) -> Self
Set NLM_F_CREATE flag
Sourcepub fn set_replace(self) -> Self
pub fn set_replace(self) -> Self
Set NLM_F_REPLACE flag
Sourcepub fn set_change(self) -> Self
pub fn set_change(self) -> Self
Set NLM_F_CREATE and NLM_F_REPLACE flag
Sourcepub fn set_append(self) -> Self
pub fn set_append(self) -> Self
Set NLM_F_APPEND flag
pub fn op_dev_get_dump_request(self) -> RequestOpDevGetDumpRequest<'buf>
pub fn op_dev_get_do_request(self) -> RequestOpDevGetDoRequest<'buf>
pub fn op_page_pool_get_dump_request( self, ) -> RequestOpPagePoolGetDumpRequest<'buf>
pub fn op_page_pool_get_do_request(self) -> RequestOpPagePoolGetDoRequest<'buf>
pub fn op_page_pool_stats_get_dump_request( self, ) -> RequestOpPagePoolStatsGetDumpRequest<'buf>
pub fn op_page_pool_stats_get_do_request( self, ) -> RequestOpPagePoolStatsGetDoRequest<'buf>
pub fn op_queue_get_dump_request(self) -> RequestOpQueueGetDumpRequest<'buf>
pub fn op_queue_get_do_request(self) -> RequestOpQueueGetDoRequest<'buf>
pub fn op_napi_get_dump_request(self) -> RequestOpNapiGetDumpRequest<'buf>
pub fn op_napi_get_do_request(self) -> RequestOpNapiGetDoRequest<'buf>
pub fn op_qstats_get_dump_request(self) -> RequestOpQstatsGetDumpRequest<'buf>
pub fn op_bind_rx_do_request(self) -> RequestOpBindRxDoRequest<'buf>
pub fn op_napi_set_do_request(self) -> RequestOpNapiSetDoRequest<'buf>
pub fn op_bind_tx_do_request(self) -> RequestOpBindTxDoRequest<'buf>
Trait Implementations§
Auto Trait Implementations§
impl<'buf> Freeze for Request<'buf>
impl<'buf> RefUnwindSafe for Request<'buf>
impl<'buf> Send for Request<'buf>
impl<'buf> Sync for Request<'buf>
impl<'buf> Unpin for Request<'buf>
impl<'buf> !UnwindSafe for Request<'buf>
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