pub enum AttemptBudgetError {
Zero,
}Expand description
Invalid attempt budget.
Variants§
Zero
At least one attempt is required.
Trait Implementations§
Source§impl Clone for AttemptBudgetError
impl Clone for AttemptBudgetError
Source§fn clone(&self) -> AttemptBudgetError
fn clone(&self) -> AttemptBudgetError
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 AttemptBudgetError
Source§impl Debug for AttemptBudgetError
impl Debug for AttemptBudgetError
Source§impl Display for AttemptBudgetError
impl Display for AttemptBudgetError
impl Eq for AttemptBudgetError
Source§impl Error for AttemptBudgetError
impl Error for AttemptBudgetError
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()
Source§impl PartialEq for AttemptBudgetError
impl PartialEq for AttemptBudgetError
impl StructuralPartialEq for AttemptBudgetError
Auto Trait Implementations§
impl Freeze for AttemptBudgetError
impl RefUnwindSafe for AttemptBudgetError
impl Send for AttemptBudgetError
impl Sync for AttemptBudgetError
impl Unpin for AttemptBudgetError
impl UnsafeUnpin for AttemptBudgetError
impl UnwindSafe for AttemptBudgetError
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