Enum reactor::WriteError
source · pub enum WriteError {
NotReady,
Io(Error),
}
Expand description
Error during write operation for a reactor-managed Resource
.
Variants§
NotReady
Underlying resource is not ready to accept the data: for instance,
a connection has not yet established in full or handshake is not
complete. A specific case in which this error is returned is defined
by an underlying resource type; however, this error happens only
due to a business logic bugs in a crate::reactor::Handler
implementation.
Io(Error)
Error returned by the operation system and not by the resource itself.
Trait Implementations§
source§impl Debug for WriteError
impl Debug for WriteError
source§impl Display for WriteError
impl Display for WriteError
source§impl Error for WriteError
impl Error for WriteError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<Error> for WriteError
impl From<Error> for WriteError
source§impl From<WriteError> for String
impl From<WriteError> for String
source§fn from(err: WriteError) -> Self
fn from(err: WriteError) -> Self
Converts to this type from the input type.