pub enum ActionPollLimitsError {
Zero,
DelayExceedsCumulative,
DelayExceedsElapsed,
}Expand description
Invalid hard action-poll limits.
Variants§
Zero
Every hard limit must be nonzero.
DelayExceedsCumulative
One delay may not exceed the cumulative delay budget.
DelayExceedsElapsed
One delay may not meet or exceed the elapsed budget.
Trait Implementations§
Source§impl Clone for ActionPollLimitsError
impl Clone for ActionPollLimitsError
Source§fn clone(&self) -> ActionPollLimitsError
fn clone(&self) -> ActionPollLimitsError
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 ActionPollLimitsError
Source§impl Debug for ActionPollLimitsError
impl Debug for ActionPollLimitsError
Source§impl Display for ActionPollLimitsError
impl Display for ActionPollLimitsError
impl Eq for ActionPollLimitsError
Source§impl Error for ActionPollLimitsError
impl Error for ActionPollLimitsError
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 ActionPollLimitsError
impl PartialEq for ActionPollLimitsError
impl StructuralPartialEq for ActionPollLimitsError
Auto Trait Implementations§
impl Freeze for ActionPollLimitsError
impl RefUnwindSafe for ActionPollLimitsError
impl Send for ActionPollLimitsError
impl Sync for ActionPollLimitsError
impl Unpin for ActionPollLimitsError
impl UnsafeUnpin for ActionPollLimitsError
impl UnwindSafe for ActionPollLimitsError
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