pub enum ClientIoError {
ParsingError,
NoData,
OutputFull,
}Expand description
The Error type of the ClientIo interface
Variants§
ParsingError
The ClientIo implementor failed to deserialize an incoming message
NoData
The ClientIo implementor does not have any data to give at the moment
TODO: This should probably be removed and we should just return Ok(None)
OutputFull
The ClientIo is unable to send a packet, as the interface is full/busy
Trait Implementations§
Source§impl Debug for ClientIoError
impl Debug for ClientIoError
Source§impl From<ClientIoError> for Error
impl From<ClientIoError> for Error
Source§fn from(other: ClientIoError) -> Self
fn from(other: ClientIoError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ClientIoError
impl PartialEq for ClientIoError
impl Eq for ClientIoError
impl StructuralPartialEq for ClientIoError
Auto Trait Implementations§
impl Freeze for ClientIoError
impl RefUnwindSafe for ClientIoError
impl Send for ClientIoError
impl Sync for ClientIoError
impl Unpin for ClientIoError
impl UnwindSafe for ClientIoError
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