pub struct LiveError {
pub status: &'static str,
pub subject: &'static str,
pub detail: String,
}Expand description
A CLI-compatible refusal. Details contain no credentials.
Fields§
§status: &'static str§subject: &'static str§detail: StringTrait Implementations§
impl Eq for LiveError
Source§impl Error for LiveError
impl Error for LiveError
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()
impl StructuralPartialEq for LiveError
Auto Trait Implementations§
impl Freeze for LiveError
impl RefUnwindSafe for LiveError
impl Send for LiveError
impl Sync for LiveError
impl Unpin for LiveError
impl UnsafeUnpin for LiveError
impl UnwindSafe for LiveError
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