pub struct InvalidArgument {}
Expand description
A generic INVALID_ARGUMENT
error.
Implementations§
Trait Implementations§
Source§impl Clone for InvalidArgument
impl Clone for InvalidArgument
Source§fn clone(&self) -> InvalidArgument
fn clone(&self) -> InvalidArgument
Returns a duplicate 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 InvalidArgument
impl Debug for InvalidArgument
Source§impl<'de> Deserialize<'de> for InvalidArgument
impl<'de> Deserialize<'de> for InvalidArgument
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl ErrorType for InvalidArgument
impl ErrorType for InvalidArgument
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<InvalidArgument> for Builder<Complete>
impl From<InvalidArgument> for Builder<Complete>
Source§fn from(v: InvalidArgument) -> Self
fn from(v: InvalidArgument) -> Self
Converts to this type from the input type.
Source§impl Hash for InvalidArgument
impl Hash for InvalidArgument
Source§impl Ord for InvalidArgument
impl Ord for InvalidArgument
Source§fn cmp(&self, other: &InvalidArgument) -> Ordering
fn cmp(&self, other: &InvalidArgument) -> 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 for InvalidArgument
impl PartialEq for InvalidArgument
Source§impl PartialOrd for InvalidArgument
impl PartialOrd for InvalidArgument
Source§impl Serialize for InvalidArgument
impl Serialize for InvalidArgument
impl Copy for InvalidArgument
impl Eq for InvalidArgument
impl StructuralPartialEq for InvalidArgument
Auto Trait Implementations§
impl Freeze for InvalidArgument
impl RefUnwindSafe for InvalidArgument
impl Send for InvalidArgument
impl Sync for InvalidArgument
impl Unpin for InvalidArgument
impl UnwindSafe for InvalidArgument
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