Enum tplinker::error::Error [−][src]
pub enum Error { IO(Error), Serde(Error), TPLink(SectionError), Other(String), }
Expand description
Error type for TPLinker
Variants
IO(Error)
Expand description
Wrapped errors from std::io
Serde(Error)
Expand description
Wrapped errors from serde_json
TPLink(SectionError)
Expand description
Error decoding a section of the JSON response
Other(String)
Expand description
A generic error
Trait Implementations
impl Error for Error
[src]
impl Error for Error
[src]fn description(&self) -> &str
[src]
fn description(&self) -> &str
[src]👎 Deprecated since 1.42.0:
use the Display impl or to_string()
fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]The lower-level source of this error, if any. Read more
impl From<SectionError> for Error
[src]
impl From<SectionError> for Error
[src]fn from(error: SectionError) -> Self
[src]
fn from(error: SectionError) -> Self
[src]Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T