Enum socket_collection::SocketError [−]
pub enum SocketError {
Io(Error),
UninitialisedSocket,
PayloadSizeProhibitive,
Serialisation(SerialisationError),
Timer(TimerError),
ZeroByteRead,
Udt(UdtError),
NoUdtEpoll,
}Common module specific error
Variants
Io(Error)IO error
UninitialisedSocketSocket is uninitialised and invalid for any operation
PayloadSizeProhibitiveSize of a message to send or about to be read is too large
Serialisation(SerialisationError)Serialisation error
Timer(TimerError)Timer error
ZeroByteReadA zero byte socket read - means EOF
Udt(UdtError)UDT error
NoUdtEpollNo UDT Epoll Loop
Trait Implementations
impl Debug for SocketError[src]
impl Debug for SocketErrorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Display for SocketError
impl Display for SocketErrorimpl Error for SocketError
impl Error for SocketErrorfn description(&self) -> &str
fn description(&self) -> &strThis method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>
fn cause(&self) -> Option<&Error>The lower-level cause of this error, if any. Read more
impl From<Error> for SocketError
impl From<Error> for SocketErrorfn from(e: Error) -> SocketError
fn from(e: Error) -> SocketErrorPerforms the conversion.
impl From<SerialisationError> for SocketError
impl From<SerialisationError> for SocketErrorfn from(e: SerialisationError) -> SocketError
fn from(e: SerialisationError) -> SocketErrorPerforms the conversion.
impl From<TimerError> for SocketError
impl From<TimerError> for SocketErrorfn from(e: TimerError) -> SocketError
fn from(e: TimerError) -> SocketErrorPerforms the conversion.
impl From<UdtError> for SocketError
impl From<UdtError> for SocketErrorfn from(e: UdtError) -> SocketError
fn from(e: UdtError) -> SocketErrorPerforms the conversion.
Auto Trait Implementations
impl Send for SocketError
impl Send for SocketErrorimpl Sync for SocketError
impl Sync for SocketError