pub enum OpenTokError {
BadRequest(String),
EncodingError,
ServerError(String),
UnexpectedResponse(String),
__Unknown,
}
Expand description
OpenTokError enumerates all possible errors returned by this library.
Variants§
Trait Implementations§
Source§impl Debug for OpenTokError
impl Debug for OpenTokError
Source§impl Display for OpenTokError
impl Display for OpenTokError
Source§impl Error for OpenTokError
impl Error for OpenTokError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<Error> for OpenTokError
impl From<Error> for OpenTokError
Source§fn from(error: Error) -> OpenTokError
fn from(error: Error) -> OpenTokError
Converts to this type from the input type.
Source§impl PartialEq for OpenTokError
impl PartialEq for OpenTokError
impl StructuralPartialEq for OpenTokError
Auto Trait Implementations§
impl Freeze for OpenTokError
impl RefUnwindSafe for OpenTokError
impl Send for OpenTokError
impl Sync for OpenTokError
impl Unpin for OpenTokError
impl UnwindSafe for OpenTokError
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