Struct conjure_error::FailedPrecondition
source · [−]pub struct FailedPrecondition {}Expand description
A generic FAILED_PRECONDITION error.
Implementations
Trait Implementations
sourceimpl Clone for FailedPrecondition
impl Clone for FailedPrecondition
sourcefn clone(&self) -> FailedPrecondition
fn clone(&self) -> FailedPrecondition
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for FailedPrecondition
impl Debug for FailedPrecondition
sourceimpl<'de> Deserialize<'de> for FailedPrecondition
impl<'de> Deserialize<'de> for FailedPrecondition
sourcefn 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
sourceimpl ErrorType for FailedPrecondition
impl ErrorType for FailedPrecondition
sourcefn instance_id(&self) -> Option<Uuid>
fn instance_id(&self) -> Option<Uuid>
Returns the error’s instance ID, if it stores one. Read more
sourcefn 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.
sourcefn 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.
sourceimpl From<FailedPrecondition> for Builder
impl From<FailedPrecondition> for Builder
sourcefn from(_v: FailedPrecondition) -> Builder
fn from(_v: FailedPrecondition) -> Builder
Performs the conversion.
sourceimpl Hash for FailedPrecondition
impl Hash for FailedPrecondition
sourceimpl Ord for FailedPrecondition
impl Ord for FailedPrecondition
sourceimpl PartialOrd<FailedPrecondition> for FailedPrecondition
impl PartialOrd<FailedPrecondition> for FailedPrecondition
sourcefn partial_cmp(&self, other: &FailedPrecondition) -> Option<Ordering>
fn partial_cmp(&self, other: &FailedPrecondition) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · sourcefn 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
sourceimpl Serialize for FailedPrecondition
impl Serialize for FailedPrecondition
impl Copy for FailedPrecondition
impl Eq for FailedPrecondition
impl StructuralEq for FailedPrecondition
impl StructuralPartialEq for FailedPrecondition
Auto Trait Implementations
impl RefUnwindSafe for FailedPrecondition
impl Send for FailedPrecondition
impl Sync for FailedPrecondition
impl Unpin for FailedPrecondition
impl UnwindSafe for FailedPrecondition
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more