Enum opentok_server::OpenTokError [−][src]
pub enum OpenTokError {
BadRequest(String),
EncodingError,
ServerError(String),
UnexpectedResponse(String),
__Unknown,
}
Expand description
OpenTokError enumerates all possible errors returned by this library.
Variants
BadRequest(String)
Tuple Fields
0: String
EncodingError
ServerError(String)
Tuple Fields
0: String
UnexpectedResponse(String)
Tuple Fields
0: String
__Unknown
Trait Implementations
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for OpenTokError
impl Send for OpenTokError
impl Sync for OpenTokError
impl Unpin for OpenTokError
impl UnwindSafe for OpenTokError
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more