pub struct HorizonsError {
pub kind: HorizonsErrorKind,
pub status: Option<u16>,
pub message: String,
}Fields§
§kind: HorizonsErrorKind§status: Option<u16>§message: StringImplementations§
Source§impl HorizonsError
impl HorizonsError
Trait Implementations§
Source§impl Debug for HorizonsError
impl Debug for HorizonsError
Source§impl Display for HorizonsError
impl Display for HorizonsError
Source§impl Error for HorizonsError
impl Error for HorizonsError
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 HorizonsError
impl From<Error> for HorizonsError
Auto Trait Implementations§
impl Freeze for HorizonsError
impl RefUnwindSafe for HorizonsError
impl Send for HorizonsError
impl Sync for HorizonsError
impl Unpin for HorizonsError
impl UnwindSafe for HorizonsError
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