pub enum HostError {
ConnectionNotFound(u8),
IoError(Error),
NimbleLayerError(NimbleLayerError),
HostLogicError(HostLogicError),
DatagramChunkerError(DatagramChunkerError),
}
Variants§
ConnectionNotFound(u8)
IoError(Error)
NimbleLayerError(NimbleLayerError)
HostLogicError(HostLogicError)
DatagramChunkerError(DatagramChunkerError)
Trait Implementations§
Source§impl ErrorLevelProvider for HostError
impl ErrorLevelProvider for HostError
fn error_level(&self) -> ErrorLevel
Source§impl From<DatagramChunkerError> for HostError
impl From<DatagramChunkerError> for HostError
Source§fn from(err: DatagramChunkerError) -> HostError
fn from(err: DatagramChunkerError) -> HostError
Converts to this type from the input type.
Source§impl From<HostLogicError> for HostError
impl From<HostLogicError> for HostError
Source§fn from(err: HostLogicError) -> HostError
fn from(err: HostLogicError) -> HostError
Converts to this type from the input type.
Source§impl From<NimbleLayerError> for HostError
impl From<NimbleLayerError> for HostError
Source§fn from(e: NimbleLayerError) -> HostError
fn from(e: NimbleLayerError) -> HostError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for HostError
impl !RefUnwindSafe for HostError
impl Send for HostError
impl Sync for HostError
impl Unpin for HostError
impl !UnwindSafe for HostError
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