Struct conjure_error::timeout::Timeout
source · [−]pub struct Timeout {}
Expand description
A generic TIMEOUT
error.
Implementations
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Timeout
impl<'de> Deserialize<'de> for Timeout
sourcefn deserialize<D>(d: D) -> Result<Timeout, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(d: D) -> Result<Timeout, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl ErrorType for Timeout
impl ErrorType for Timeout
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 Ord for Timeout
impl Ord for Timeout
1.21.0 · sourcefn max(self, other: Self) -> Self
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Self
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialOrd<Timeout> for Timeout
impl PartialOrd<Timeout> for Timeout
sourcefn partial_cmp(&self, other: &Timeout) -> Option<Ordering>
fn partial_cmp(&self, other: &Timeout) -> Option<Ordering>
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 moreimpl Copy for Timeout
impl Eq for Timeout
impl StructuralEq for Timeout
impl StructuralPartialEq for Timeout
Auto Trait Implementations
impl RefUnwindSafe for Timeout
impl Send for Timeout
impl Sync for Timeout
impl Unpin for Timeout
impl UnwindSafe for Timeout
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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