pub struct TelegramError { /* private fields */ }
Expand description
Describe an error returned by the API
Trait Implementations§
Source§impl Debug for TelegramError
impl Debug for TelegramError
Source§impl<'de> Deserialize<'de> for TelegramError
impl<'de> Deserialize<'de> for TelegramError
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<TelegramError> for Error
impl From<TelegramError> for Error
Source§fn from(e: TelegramError) -> Self
fn from(e: TelegramError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TelegramError
impl RefUnwindSafe for TelegramError
impl Send for TelegramError
impl Sync for TelegramError
impl Unpin for TelegramError
impl UnwindSafe for TelegramError
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