pub struct OpSbPortPoolSetDo<'r> { /* private fields */ }Available on crate feature
devlink only.Expand description
Set shared buffer port-pool combinations and threshold.
Flags: admin-perm
Request attributes:
Implementations§
Source§impl<'r> OpSbPortPoolSetDo<'r>
impl<'r> OpSbPortPoolSetDo<'r>
pub fn new(request: Request<'r>) -> Self
pub fn encode_request<'buf>( buf: &'buf mut Vec<u8>, ) -> PushDevlink<&'buf mut Vec<u8>>
pub fn encode(&mut self) -> PushDevlink<&mut Vec<u8>>
pub fn into_encoder(self) -> PushDevlink<RequestBuf<'r>>
pub fn decode_request<'a>(buf: &'a [u8]) -> IterableDevlink<'a> ⓘ
Trait Implementations§
Source§impl<'r> Debug for OpSbPortPoolSetDo<'r>
impl<'r> Debug for OpSbPortPoolSetDo<'r>
Source§impl NetlinkRequest for OpSbPortPoolSetDo<'_>
impl NetlinkRequest for OpSbPortPoolSetDo<'_>
type ReplyType<'buf> = IterableDevlink<'buf>
fn decode_reply<'buf>(buf: &'buf [u8]) -> Self::ReplyType<'buf>
Auto Trait Implementations§
impl<'r> Freeze for OpSbPortPoolSetDo<'r>
impl<'r> RefUnwindSafe for OpSbPortPoolSetDo<'r>
impl<'r> Send for OpSbPortPoolSetDo<'r>
impl<'r> Sync for OpSbPortPoolSetDo<'r>
impl<'r> Unpin for OpSbPortPoolSetDo<'r>
impl<'r> UnsafeUnpin for OpSbPortPoolSetDo<'r>
impl<'r> !UnwindSafe for OpSbPortPoolSetDo<'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