Struct zx::SocketInfo
source · #[repr(C)]pub struct SocketInfo {
pub options: SocketOpts,
pub rx_buf_max: usize,
pub rx_buf_size: usize,
pub rx_buf_available: usize,
pub tx_buf_max: usize,
pub tx_buf_size: usize,
}
Fields§
§options: SocketOpts
§rx_buf_max: usize
§rx_buf_size: usize
§rx_buf_available: usize
§tx_buf_max: usize
§tx_buf_size: usize
Trait Implementations§
source§impl Clone for SocketInfo
impl Clone for SocketInfo
source§fn clone(&self) -> SocketInfo
fn clone(&self) -> SocketInfo
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 SocketInfo
impl Debug for SocketInfo
source§impl Default for SocketInfo
impl Default for SocketInfo
source§fn default() -> SocketInfo
fn default() -> SocketInfo
Returns the “default value” for a type. Read more
source§impl From<zx_info_socket_t> for SocketInfo
impl From<zx_info_socket_t> for SocketInfo
source§fn from(socket: zx_info_socket_t) -> SocketInfo
fn from(socket: zx_info_socket_t) -> SocketInfo
Converts to this type from the input type.
source§impl PartialEq for SocketInfo
impl PartialEq for SocketInfo
source§fn eq(&self, other: &SocketInfo) -> bool
fn eq(&self, other: &SocketInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SocketInfo
impl Eq for SocketInfo
impl StructuralPartialEq for SocketInfo
Auto Trait Implementations§
impl Freeze for SocketInfo
impl RefUnwindSafe for SocketInfo
impl Send for SocketInfo
impl Sync for SocketInfo
impl Unpin for SocketInfo
impl UnwindSafe for SocketInfo
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)