pub struct PreconditionFailed { /* private fields */ }
Expand description
A 419 - Precondition Failed
error.
Used when some precondition in a condition request could not be satisfied.
Trait Implementations§
Source§impl Clone for PreconditionFailed
impl Clone for PreconditionFailed
Source§fn clone(&self) -> PreconditionFailed
fn clone(&self) -> PreconditionFailed
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl CustomProblem for PreconditionFailed
impl CustomProblem for PreconditionFailed
Source§fn problem_type(&self) -> Uri
fn problem_type(&self) -> Uri
A URI reference that identifies the problem type. Read more
Source§fn title(&self) -> &'static str
fn title(&self) -> &'static str
A short, human-readable summary of the problem type. Read more
Source§fn status_code(&self) -> StatusCode
fn status_code(&self) -> StatusCode
The HTTP status code for this problem type. Read more
Source§fn add_extensions(&self, _: &mut Extensions)
fn add_extensions(&self, _: &mut Extensions)
Add extensions to the final problem instance. Read more
Source§impl Debug for PreconditionFailed
impl Debug for PreconditionFailed
Source§impl Display for PreconditionFailed
impl Display for PreconditionFailed
Source§impl Error for PreconditionFailed
impl Error for PreconditionFailed
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 Copy for PreconditionFailed
Auto Trait Implementations§
impl Freeze for PreconditionFailed
impl RefUnwindSafe for PreconditionFailed
impl Send for PreconditionFailed
impl Sync for PreconditionFailed
impl Unpin for PreconditionFailed
impl UnwindSafe for PreconditionFailed
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