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