Enum medea_coturn_telnet_client::CoturnTelnetError[][src]

pub enum CoturnTelnetError {
    IoFailed(Error),
    Disconnected,
    MessageParseError(CoturnResponseParseError),
    UnexpectedMessage(CoturnCliResponse),
    WrongPassword,
}

Errors that can be returned by CoturnTelnetConnection.

Variants

IoFailed(Error)

Underlying transport encountered error on I/O operation.

You should try to recreate CoturnTelnetConnection.

Disconnected

Underlying stream exhausted.

You should try to recreate CoturnTelnetConnection.

MessageParseError(CoturnResponseParseError)

Unable to parse response from Coturn server.

This is unrecoverable error.

UnexpectedMessage(CoturnCliResponse)

Coturn answered with unexpected message.

This is unrecoverable error.

WrongPassword

Authentication failed.

This is unrecoverable error.

Trait Implementations

impl Debug for CoturnTelnetError[src]

impl Display for CoturnTelnetError[src]

impl From<CoturnCliCodecError> for CoturnTelnetError[src]

impl From<CoturnCliResponse> for CoturnTelnetError[src]

impl From<CoturnResponseParseError> for CoturnTelnetError[src]

impl From<Error> for CoturnTelnetError[src]

impl Manager<CoturnTelnetConnection, CoturnTelnetError> for Manager[src]

This is supported on crate feature pool only.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.