pub enum BoundedCompletionWaitError {
ZeroTimeout,
}Expand description
Invalid bounded-completion policy.
Variants§
ZeroTimeout
A zero duration cannot establish a meaningful completion deadline.
Trait Implementations§
Source§impl Clone for BoundedCompletionWaitError
impl Clone for BoundedCompletionWaitError
Source§fn clone(&self) -> BoundedCompletionWaitError
fn clone(&self) -> BoundedCompletionWaitError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BoundedCompletionWaitError
Source§impl Debug for BoundedCompletionWaitError
impl Debug for BoundedCompletionWaitError
Source§impl Display for BoundedCompletionWaitError
impl Display for BoundedCompletionWaitError
impl Eq for BoundedCompletionWaitError
Source§impl Error for BoundedCompletionWaitError
impl Error for BoundedCompletionWaitError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
impl StructuralPartialEq for BoundedCompletionWaitError
Auto Trait Implementations§
impl Freeze for BoundedCompletionWaitError
impl RefUnwindSafe for BoundedCompletionWaitError
impl Send for BoundedCompletionWaitError
impl Sync for BoundedCompletionWaitError
impl Unpin for BoundedCompletionWaitError
impl UnsafeUnpin for BoundedCompletionWaitError
impl UnwindSafe for BoundedCompletionWaitError
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