pub enum CoturnCliError {
PoolError(Error),
CliError(CoturnTelnetError),
}Expand description
Possible errors returned by CoturnTelnetClient.
Variants§
PoolError(Error)
Failed to retrieve connection from pool.
CliError(CoturnTelnetError)
Operation on retrieved connection failed.
Trait Implementations§
Source§impl Debug for CoturnCliError
impl Debug for CoturnCliError
Source§impl Display for CoturnCliError
impl Display for CoturnCliError
Source§impl Fail for CoturnCliError
impl Fail for CoturnCliError
Source§fn cause(&self) -> Option<&dyn Fail>
fn cause(&self) -> Option<&dyn Fail>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
Source§fn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace carried by this failure, if it
carries one. Read moreSource§impl From<CoturnCliError> for TurnServiceErr
impl From<CoturnCliError> for TurnServiceErr
Source§fn from(original: CoturnCliError) -> TurnServiceErr
fn from(original: CoturnCliError) -> TurnServiceErr
Converts to this type from the input type.
Source§impl From<CoturnTelnetError> for CoturnCliError
impl From<CoturnTelnetError> for CoturnCliError
Source§fn from(original: CoturnTelnetError) -> CoturnCliError
fn from(original: CoturnTelnetError) -> CoturnCliError
Converts to this type from the input type.
Source§impl From<PoolError<CoturnTelnetError>> for CoturnCliError
impl From<PoolError<CoturnTelnetError>> for CoturnCliError
Source§fn from(original: PoolError) -> CoturnCliError
fn from(original: PoolError) -> CoturnCliError
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for CoturnCliError
impl !UnwindSafe for CoturnCliError
impl Freeze for CoturnCliError
impl Send for CoturnCliError
impl Sync for CoturnCliError
impl Unpin for CoturnCliError
impl UnsafeUnpin for CoturnCliError
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request