pub struct FailedPrecondition {}Expand description
A generic FAILED_PRECONDITION error.
Implementations§
Trait Implementations§
source§impl Clone for FailedPrecondition
impl Clone for FailedPrecondition
source§fn clone(&self) -> FailedPrecondition
fn clone(&self) -> FailedPrecondition
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for FailedPrecondition
impl Debug for FailedPrecondition
source§impl<'de> Deserialize<'de> for FailedPrecondition
impl<'de> Deserialize<'de> for FailedPrecondition
source§fn deserialize<D>(d: D) -> Result<FailedPrecondition, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(d: D) -> Result<FailedPrecondition, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl ErrorType for FailedPrecondition
impl ErrorType for FailedPrecondition
source§fn instance_id(&self) -> Option<Uuid>
fn instance_id(&self) -> Option<Uuid>
Returns the error’s instance ID, if it stores one. Read more
source§fn safe_args(&self) -> &'static [&'static str]
fn safe_args(&self) -> &'static [&'static str]
Returns a sorted slice of the names of the error’s safe parameters.
source§fn with_instance_id(self, instance_id: Uuid) -> WithInstanceId<Self>where
Self: Sized,
fn with_instance_id(self, instance_id: Uuid) -> WithInstanceId<Self>where
Self: Sized,
Wraps the error in another that overrides its instance ID.
source§impl From<FailedPrecondition> for Builder
impl From<FailedPrecondition> for Builder
source§fn from(_v: FailedPrecondition) -> Builder
fn from(_v: FailedPrecondition) -> Builder
Converts to this type from the input type.
source§impl Hash for FailedPrecondition
impl Hash for FailedPrecondition
source§impl Ord for FailedPrecondition
impl Ord for FailedPrecondition
source§fn cmp(&self, other: &FailedPrecondition) -> Ordering
fn cmp(&self, other: &FailedPrecondition) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<FailedPrecondition> for FailedPrecondition
impl PartialEq<FailedPrecondition> for FailedPrecondition
source§fn eq(&self, other: &FailedPrecondition) -> bool
fn eq(&self, other: &FailedPrecondition) -> bool
source§impl PartialOrd<FailedPrecondition> for FailedPrecondition
impl PartialOrd<FailedPrecondition> for FailedPrecondition
source§fn partial_cmp(&self, other: &FailedPrecondition) -> Option<Ordering>
fn partial_cmp(&self, other: &FailedPrecondition) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read more