pub enum IronError {
}Expand description
The main error type for Legion Protocol operations
Variants§
Parse(String)
Parse error when processing IRC messages or protocol data
SecurityViolation(String)
Security violation detected
Auth(String)
Authentication failure
Connection(String)
Connection error
Protocol(String)
Protocol violation
RateLimit(String)
Rate limiting violation
Config(String)
Configuration error
Capability(String)
Capability negotiation error
Sasl(String)
SASL authentication error
Io(String)
I/O error
Timeout(String)
Timeout error
InvalidInput(String)
Invalid input
NotSupported(String)
Feature not supported
Internal(String)
Internal error
Implementations§
Trait Implementations§
Source§impl Error for IronError
impl Error for IronError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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()
impl StructuralPartialEq for IronError
Auto Trait Implementations§
impl Freeze for IronError
impl RefUnwindSafe for IronError
impl Send for IronError
impl Sync for IronError
impl Unpin for IronError
impl UnsafeUnpin for IronError
impl UnwindSafe for IronError
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