[−]Enum socket_collection::SocketError
Common module specific error
Variants
Io(Error)
IO error
UninitialisedSocket
Socket is uninitialised and invalid for any operation
PayloadSizeProhibitive
Size of a message to send or about to be read is too large
Serialisation(SerialisationError)
Serialisation error
ZeroByteRead
A zero byte socket read - means EOF
Udt(UdtError)
UDT error
UnconnectedUdpSocket
UDP Socket is not connected
NoUdtEpoll
No UDT Epoll Loop
UdtNegativeBytesRead(i32)
UDT read has resulted in negative return value
UdtNegativeBytesWrite(i32)
UDT write has resulted in negative return value
Crypto(Error)
Crypto related error.
Trait Implementations
impl From<Error> for SocketError
impl From<Error> for SocketError
fn from(e: Error) -> SocketError
fn from(e: Error) -> SocketError
impl From<SerialisationError> for SocketError
impl From<SerialisationError> for SocketError
fn from(e: SerialisationError) -> SocketError
fn from(e: SerialisationError) -> SocketError
impl From<Error> for SocketError
impl From<Error> for SocketError
fn from(e: Error) -> SocketError
fn from(e: Error) -> SocketError
impl Debug for SocketError
[src]
impl Debug for SocketError
impl Display for SocketError
impl Display for SocketError
impl Error for SocketError
impl Error for SocketError
Auto Trait Implementations
impl Send for SocketError
impl Send for SocketError
impl Sync for SocketError
impl Sync for SocketError
Blanket Implementations
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
impl<T> ToString for T where
T: Display + ?Sized,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
fn borrow_mut(&mut self) -> &mut T
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
fn get_type_id(&self) -> TypeId
impl<T> DebugAny for T where
T: Any + Debug,
impl<T> DebugAny for T where
T: Any + Debug,
impl<T> UnsafeAny for T where
T: Any,
impl<T> UnsafeAny for T where
T: Any,
impl<T> Same for T
impl<T> Same for T
type Output = T
Should always be Self