pub struct OpQueueCreateDo<'r> { /* private fields */ }Available on crate feature
netdev only.Expand description
Create a new queue for the given netdevice. Whether this operation is supported depends on the device and the driver.
Flags: admin-perm
Request attributes:
Reply attributes:
Implementations§
Source§impl<'r> OpQueueCreateDo<'r>
impl<'r> OpQueueCreateDo<'r>
pub fn new(request: Request<'r>) -> Self
pub fn encode_request<'buf>( buf: &'buf mut Vec<u8>, ) -> PushQueue<&'buf mut Vec<u8>>
pub fn encode(&mut self) -> PushQueue<&mut Vec<u8>>
pub fn into_encoder(self) -> PushQueue<RequestBuf<'r>>
pub fn decode_request<'a>(buf: &'a [u8]) -> IterableQueue<'a> ⓘ
Trait Implementations§
Source§impl<'r> Debug for OpQueueCreateDo<'r>
impl<'r> Debug for OpQueueCreateDo<'r>
Source§impl NetlinkRequest for OpQueueCreateDo<'_>
impl NetlinkRequest for OpQueueCreateDo<'_>
type ReplyType<'buf> = IterableQueue<'buf>
fn decode_reply<'buf>(buf: &'buf [u8]) -> Self::ReplyType<'buf>
Auto Trait Implementations§
impl<'r> !UnwindSafe for OpQueueCreateDo<'r>
impl<'r> Freeze for OpQueueCreateDo<'r>
impl<'r> RefUnwindSafe for OpQueueCreateDo<'r>
impl<'r> Send for OpQueueCreateDo<'r>
impl<'r> Sync for OpQueueCreateDo<'r>
impl<'r> Unpin for OpQueueCreateDo<'r>
impl<'r> UnsafeUnpin for OpQueueCreateDo<'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