#[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
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§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
)