[−][src]Enum twitch_irc::Error
Errors that can occur while trying to execute some action on a TwitchIRCClient
.
Variants
ConnectError(Arc<T::ConnectError>)
Underlying transport failed to connect
IncomingError(Arc<T::IncomingError>)
Error received from incoming stream of messages
OutgoingError(Arc<T::OutgoingError>)
Error received while trying to send message(s) out
IRCParseError(IRCParseError)
Incoming message was not valid IRC
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: Transport, L: LoginCredentials> Clone for Error<T, L>
[src]
fn clone(&self) -> Self
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
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 + Sync,
<L as LoginCredentials>::Error: Send + Sync,
<T as Transport>::IncomingError: Send + Sync,
<T as Transport>::OutgoingError: Send + Sync,
<T as Transport>::ConnectError: Send + Sync,
<L as LoginCredentials>::Error: Send + Sync,
<T as Transport>::IncomingError: Send + Sync,
<T as Transport>::OutgoingError: Send + Sync,
impl<T, L> Sync for Error<T, L> where
<T as Transport>::ConnectError: Send + Sync,
<L as LoginCredentials>::Error: Send + Sync,
<T as Transport>::IncomingError: Send + Sync,
<T as Transport>::OutgoingError: Send + Sync,
<T as Transport>::ConnectError: Send + Sync,
<L as LoginCredentials>::Error: Send + Sync,
<T as Transport>::IncomingError: Send + Sync,
<T as Transport>::OutgoingError: Send + Sync,
impl<T, L> Unpin for Error<T, L>
impl<T, L> UnwindSafe 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,
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> Instrument for T
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,