Struct conjure_error::InvalidArgument
source · [−]pub struct InvalidArgument {}Expand description
A generic INVALID_ARGUMENT error.
Implementations
Trait Implementations
sourceimpl Clone for InvalidArgument
impl Clone for InvalidArgument
sourcefn clone(&self) -> InvalidArgument
fn clone(&self) -> InvalidArgument
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 InvalidArgument
impl Debug for InvalidArgument
sourceimpl<'de> Deserialize<'de> for InvalidArgument
impl<'de> Deserialize<'de> for InvalidArgument
sourcefn deserialize<D>(d: D) -> Result<InvalidArgument, D::Error> where
D: Deserializer<'de>,
fn deserialize<D>(d: D) -> Result<InvalidArgument, D::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl ErrorType for InvalidArgument
impl ErrorType for InvalidArgument
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<InvalidArgument> for Builder
impl From<InvalidArgument> for Builder
sourcefn from(_v: InvalidArgument) -> Builder
fn from(_v: InvalidArgument) -> Builder
Performs the conversion.
sourceimpl Hash for InvalidArgument
impl Hash for InvalidArgument
sourceimpl Ord for InvalidArgument
impl Ord for InvalidArgument
sourceimpl PartialEq<InvalidArgument> for InvalidArgument
impl PartialEq<InvalidArgument> for InvalidArgument
sourceimpl PartialOrd<InvalidArgument> for InvalidArgument
impl PartialOrd<InvalidArgument> for InvalidArgument
sourcefn partial_cmp(&self, other: &InvalidArgument) -> Option<Ordering>
fn partial_cmp(&self, other: &InvalidArgument) -> 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 InvalidArgument
impl Serialize for InvalidArgument
impl Copy for InvalidArgument
impl Eq for InvalidArgument
impl StructuralEq for InvalidArgument
impl StructuralPartialEq for InvalidArgument
Auto Trait Implementations
impl RefUnwindSafe for InvalidArgument
impl Send for InvalidArgument
impl Sync for InvalidArgument
impl Unpin for InvalidArgument
impl UnwindSafe for InvalidArgument
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