doc.rust-lang.org
pub type c_schar = core::ffi::c_schar
Equivalent to C's signed char type.
type_alias
std
Stable since 1.1.0
Version 1.100.0-nightly
doc.rust-lang.org
pub type c_longlong = core::ffi::c_longlong
Equivalent to C's signed long long (long long) type.
type_alias
std
Stable since 1.1.0
Version 1.100.0-nightly
doc.rust-lang.org
pub type c_long = core::ffi::c_long
Equivalent to C's signed long (long) type.
type_alias
std
Stable since 1.1.0
Version 1.100.0-nightly
doc.rust-lang.org
pub type c_int = core::ffi::c_int
Equivalent to C's signed int (int) type.
type_alias
std
Stable since 1.1.0
Version 1.100.0-nightly
doc.rust-lang.org
pub type c_float = core::ffi::c_float
Equivalent to C's float type.
type_alias
std
Stable since 1.1.0
Version 1.100.0-nightly
doc.rust-lang.org
pub type c_double = core::ffi::c_double
Equivalent to C's double type.
type_alias
std
Stable since 1.1.0
Version 1.100.0-nightly
doc.rust-lang.org
pub type c_char = core::ffi::c_char
Equivalent to C's char type.
type_alias
std
Stable since 1.1.0
Version 1.100.0-nightly
doc.rust-lang.org
pub mod raw
Compatibility module for C platform-specific types. Use core::ffi instead.
module
std
Stable since 1.1.0
Version 1.100.0-nightly
doc.rust-lang.org
fn set_quickack(&self, quickack: bool) -> io::Result<()>
Enable or disable TCP_QUICKACK.
method
std
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
fn quickack(&self) -> io::Result<bool>
Gets the value of the TCP_QUICKACK option on this socket.
method
std
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub trait TcpStreamExt
Os-specific extensions for TcpStream
trait
std
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
fn from_abstract_name<N>(name: N) -> crate::io::Result<SocketAddr>
Creates a Unix socket address in the abstract namespace.
associated_function
std
Stable since 1.70.0
Version 1.100.0-nightly
doc.rust-lang.org
fn as_abstract_name(&self) -> Option<&[u8]>
Returns the contents of this address if it is in the abstract namespace.
method
std
Stable since 1.70.0
Version 1.100.0-nightly
doc.rust-lang.org
pub trait SocketAddrExt
Platform-specific extensions to SocketAddr.
trait
std
Stable since 1.70.0
Version 1.100.0-nightly
doc.rust-lang.org
pub mod raw
Linux-specific raw type definitions.
module
std
Stable since 1.1.0
Version 1.100.0-nightly
doc.rust-lang.org
pub mod net
Linux-specific networking functionality.
module
std
Stable since 1.70.0
Version 1.100.0-nightly
doc.rust-lang.org
fn st_uid(&self) -> u32
Returns the user ID of the file owner.
method
std
Stable since 1.8.0
Version 1.100.0-nightly
doc.rust-lang.org
fn st_size(&self) -> u64
Returns the size of the file (if it is a regular file or a symbolic link) in bytes.
method
std
Stable since 1.8.0
Version 1.100.0-nightly
doc.rust-lang.org
fn st_rdev(&self) -> u64
Returns the device ID that this file represents. Only relevant for special file.
method
std
Stable since 1.8.0
Version 1.100.0-nightly
doc.rust-lang.org
fn st_nlink(&self) -> u64
Returns the number of hard links to file.
method
std
Stable since 1.8.0
Version 1.100.0-nightly