#[repr(u32)]pub enum ClockworkError {
AdminAuthorityInvalid,
InvalidClaimAmount,
InvalidHttpMethod,
InvalidWorkers,
}
Variants§
Implementations§
Trait Implementations§
source§impl Clone for ClockworkError
impl Clone for ClockworkError
source§fn clone(&self) -> ClockworkError
fn clone(&self) -> ClockworkError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ClockworkError
impl Debug for ClockworkError
source§impl Display for ClockworkError
impl Display for ClockworkError
source§impl From<ClockworkError> for Error
impl From<ClockworkError> for Error
source§fn from(error_code: ClockworkError) -> Error
fn from(error_code: ClockworkError) -> Error
Converts to this type from the input type.
source§impl From<ClockworkError> for u32
impl From<ClockworkError> for u32
source§fn from(e: ClockworkError) -> u32
fn from(e: ClockworkError) -> u32
Converts to this type from the input type.
impl Copy for ClockworkError
Auto Trait Implementations§
impl RefUnwindSafe for ClockworkError
impl Send for ClockworkError
impl Sync for ClockworkError
impl Unpin for ClockworkError
impl UnwindSafe for ClockworkError
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