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 ==
.impl Copy for rustls_io_result
impl Eq for rustls_io_result
impl StructuralEq for rustls_io_result
impl StructuralPartialEq for rustls_io_result
Auto Trait Implementations§
impl RefUnwindSafe for rustls_io_result
impl Send for rustls_io_result
impl Sync for rustls_io_result
impl Unpin for rustls_io_result
impl UnwindSafe for rustls_io_result
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