Enum optee_utee::net::SocketError
source · pub enum SocketError {
ErrorProtocol(u32),
RemoteClosed,
Timeout,
OutOfResource,
WarningProtocol(u32),
LargeBuffer,
Hostname,
Tee(ErrorKind),
Unknown(u32),
}
Variants§
ErrorProtocol(u32)
RemoteClosed
Timeout
OutOfResource
WarningProtocol(u32)
LargeBuffer
Hostname
Tee(ErrorKind)
Unknown(u32)
Implementations§
source§impl SocketError
impl SocketError
pub fn from_raw_error(code: u32, protocol_error: u32) -> Self
Trait Implementations§
source§impl Clone for SocketError
impl Clone for SocketError
source§fn clone(&self) -> SocketError
fn clone(&self) -> SocketError
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 SocketError
impl Debug for SocketError
source§impl Display for SocketError
impl Display for SocketError
source§impl From<Error> for SocketError
impl From<Error> for SocketError
source§impl PartialEq for SocketError
impl PartialEq for SocketError
source§fn eq(&self, other: &SocketError) -> bool
fn eq(&self, other: &SocketError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for SocketError
impl StructuralPartialEq for SocketError
Auto Trait Implementations§
impl Freeze for SocketError
impl RefUnwindSafe for SocketError
impl Send for SocketError
impl Sync for SocketError
impl Unpin for SocketError
impl UnwindSafe for SocketError
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