[−][src]Enum twitch_irc::Error
Errors that can occur while trying to execute some action on a TwitchIRCClient
.
Variants
ConnectError(T::ConnectError)
Underlying transport failed to connect
IncomingError(T::IncomingError)
Error received from incoming stream of messages
OutgoingError(T::OutgoingError)
Error received while trying to send message(s) out
IRCParseError(IRCParseError)
Incoming message was not valid IRC
LoginError(L::Error)
Failed to get login credentials to log in with
Received RECONNECT command by IRC server
Did not receive a PONG back after sending PING
Remote server unexpectedly closed connection
Trait Implementations
impl<T: Debug + Transport, L: Debug + LoginCredentials> Debug for Error<T, L> where
T::ConnectError: Debug,
T::IncomingError: Debug,
T::OutgoingError: Debug,
L::Error: Debug,
[src]
T::ConnectError: Debug,
T::IncomingError: Debug,
T::OutgoingError: Debug,
L::Error: Debug,
impl<T: Transport, L: LoginCredentials> Display for Error<T, L>
[src]
impl<T: Transport, L: LoginCredentials> Error for Error<T, L>
[src]
Auto Trait Implementations
impl<T, L> RefUnwindSafe for Error<T, L> where
<T as Transport>::ConnectError: RefUnwindSafe,
<L as LoginCredentials>::Error: RefUnwindSafe,
<T as Transport>::IncomingError: RefUnwindSafe,
<T as Transport>::OutgoingError: RefUnwindSafe,
<T as Transport>::ConnectError: RefUnwindSafe,
<L as LoginCredentials>::Error: RefUnwindSafe,
<T as Transport>::IncomingError: RefUnwindSafe,
<T as Transport>::OutgoingError: RefUnwindSafe,
impl<T, L> Send for Error<T, L> where
<T as Transport>::ConnectError: Send,
<L as LoginCredentials>::Error: Send,
<T as Transport>::IncomingError: Send,
<T as Transport>::OutgoingError: Send,
<T as Transport>::ConnectError: Send,
<L as LoginCredentials>::Error: Send,
<T as Transport>::IncomingError: Send,
<T as Transport>::OutgoingError: Send,
impl<T, L> Sync for Error<T, L> where
<T as Transport>::ConnectError: Sync,
<L as LoginCredentials>::Error: Sync,
<T as Transport>::IncomingError: Sync,
<T as Transport>::OutgoingError: Sync,
<T as Transport>::ConnectError: Sync,
<L as LoginCredentials>::Error: Sync,
<T as Transport>::IncomingError: Sync,
<T as Transport>::OutgoingError: Sync,
impl<T, L> Unpin for Error<T, L> where
<T as Transport>::ConnectError: Unpin,
<L as LoginCredentials>::Error: Unpin,
<T as Transport>::IncomingError: Unpin,
<T as Transport>::OutgoingError: Unpin,
<T as Transport>::ConnectError: Unpin,
<L as LoginCredentials>::Error: Unpin,
<T as Transport>::IncomingError: Unpin,
<T as Transport>::OutgoingError: Unpin,
impl<T, L> UnwindSafe for Error<T, L> where
<T as Transport>::ConnectError: UnwindSafe,
<L as LoginCredentials>::Error: UnwindSafe,
<T as Transport>::IncomingError: UnwindSafe,
<T as Transport>::OutgoingError: UnwindSafe,
<T as Transport>::ConnectError: UnwindSafe,
<L as LoginCredentials>::Error: UnwindSafe,
<T as Transport>::IncomingError: UnwindSafe,
<T as Transport>::OutgoingError: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,