pub enum SettlementClaimValidationError {
WorkerIdLength,
LeaseDuration,
ClaimBatch,
}Expand description
Invalid settlement claim parameters.
Variants§
WorkerIdLength
Worker identifier is empty or exceeds its UTF-8 byte bound.
LeaseDuration
Lease duration is zero or exceeds the one-day bound.
ClaimBatch
Claim batch is zero or exceeds the row-count bound.
Trait Implementations§
Source§impl Clone for SettlementClaimValidationError
impl Clone for SettlementClaimValidationError
Source§fn clone(&self) -> SettlementClaimValidationError
fn clone(&self) -> SettlementClaimValidationError
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 SettlementClaimValidationError
impl Eq for SettlementClaimValidationError
Source§impl Error for SettlementClaimValidationError
impl Error for SettlementClaimValidationError
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 SettlementClaimValidationError
Auto Trait Implementations§
impl Freeze for SettlementClaimValidationError
impl RefUnwindSafe for SettlementClaimValidationError
impl Send for SettlementClaimValidationError
impl Sync for SettlementClaimValidationError
impl Unpin for SettlementClaimValidationError
impl UnsafeUnpin for SettlementClaimValidationError
impl UnwindSafe for SettlementClaimValidationError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.