Struct netlink_packet_sock_diag::unix::UnixResponse
source · pub struct UnixResponse {
pub header: UnixResponseHeader,
pub nlas: SmallVec<[Nla; 8]>,
}
Fields§
§header: UnixResponseHeader
§nlas: SmallVec<[Nla; 8]>
Implementations§
source§impl UnixResponse
impl UnixResponse
pub fn peer(&self) -> Option<u32>
pub fn name(&self) -> Option<&String>
pub fn pending_connections(&self) -> Option<&[u32]>
pub fn shutdown_state(&self) -> Option<u8>
pub fn number_of_pending_connection(&self) -> Option<u32>
pub fn max_number_of_pending_connection(&self) -> Option<u32>
pub fn receive_queue_size(&self) -> Option<u32>
pub fn send_queue_size(&self) -> Option<u32>
pub fn max_datagram_size(&self) -> Option<u32>
pub fn memory_used_for_outgoing_data(&self) -> Option<u32>
Trait Implementations§
source§impl Clone for UnixResponse
impl Clone for UnixResponse
source§fn clone(&self) -> UnixResponse
fn clone(&self) -> UnixResponse
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for UnixResponse
impl Debug for UnixResponse
source§impl Emitable for UnixResponse
impl Emitable for UnixResponse
source§impl<'a, T: AsRef<[u8]> + ?Sized> Parseable<UnixResponseBuffer<&'a T>> for UnixResponse
impl<'a, T: AsRef<[u8]> + ?Sized> Parseable<UnixResponseBuffer<&'a T>> for UnixResponse
source§impl PartialEq for UnixResponse
impl PartialEq for UnixResponse
source§fn eq(&self, other: &UnixResponse) -> bool
fn eq(&self, other: &UnixResponse) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for UnixResponse
impl StructuralPartialEq for UnixResponse
Auto Trait Implementations§
impl Freeze for UnixResponse
impl RefUnwindSafe for UnixResponse
impl Send for UnixResponse
impl Sync for UnixResponse
impl Unpin for UnixResponse
impl UnwindSafe for UnixResponse
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