Struct rustls_ffi::rustls_io_result
source · #[repr(transparent)]pub struct rustls_io_result(pub c_int);
Expand description
A return value for a function that may return either success (0) or a non-zero value representing an error. The values should match socket error numbers for your operating system - for example, the integers for ETIMEDOUT, EAGAIN, or similar.
Tuple Fields§
§0: c_int
Trait Implementations§
source§impl Clone for rustls_io_result
impl Clone for rustls_io_result
source§fn clone(&self) -> rustls_io_result
fn clone(&self) -> rustls_io_result
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 rustls_io_result
impl Debug for rustls_io_result
source§impl PartialEq<rustls_io_result> for rustls_io_result
impl PartialEq<rustls_io_result> for rustls_io_result
source§fn eq(&self, other: &rustls_io_result) -> bool
fn eq(&self, other: &rustls_io_result) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.