pub enum TwimlErr {
Io(Error),
Utf8Err(FromUtf8Error),
EmitterErr(EmitterError),
}
Variants§
Trait Implementations§
Source§impl Error for TwimlErr
impl Error for TwimlErr
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<EmitterError> for TwimlErr
impl From<EmitterError> for TwimlErr
Source§fn from(e: EmitterError) -> TwimlErr
fn from(e: EmitterError) -> TwimlErr
Converts to this type from the input type.
Source§impl From<FromUtf8Error> for TwimlErr
impl From<FromUtf8Error> for TwimlErr
Source§fn from(e: FromUtf8Error) -> TwimlErr
fn from(e: FromUtf8Error) -> TwimlErr
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TwimlErr
impl !RefUnwindSafe for TwimlErr
impl Send for TwimlErr
impl Sync for TwimlErr
impl Unpin for TwimlErr
impl !UnwindSafe for TwimlErr
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