pub enum StarSyncError {
NoUnlockedPuzzles(usize),
InvalidClock,
InvalidAttemptTimestamp,
Throttled,
Client(ClientError),
Calendar(CalendarHtmlError),
Store(StarStoreError),
}Variants§
NoUnlockedPuzzles(usize)
InvalidClock
InvalidAttemptTimestamp
Throttled
Client(ClientError)
Calendar(CalendarHtmlError)
Store(StarStoreError)
Trait Implementations§
Source§impl Debug for StarSyncError
impl Debug for StarSyncError
Source§impl Display for StarSyncError
impl Display for StarSyncError
Source§impl Error for StarSyncError
impl Error for StarSyncError
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 From<CalendarHtmlError> for StarSyncError
impl From<CalendarHtmlError> for StarSyncError
Source§fn from(source: CalendarHtmlError) -> Self
fn from(source: CalendarHtmlError) -> Self
Converts to this type from the input type.
Source§impl From<ClientError> for StarSyncError
impl From<ClientError> for StarSyncError
Source§fn from(source: ClientError) -> Self
fn from(source: ClientError) -> Self
Converts to this type from the input type.
Source§impl From<StarStoreError> for StarSyncError
impl From<StarStoreError> for StarSyncError
Source§fn from(source: StarStoreError) -> Self
fn from(source: StarStoreError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for StarSyncError
impl !UnwindSafe for StarSyncError
impl Forget for StarSyncError
impl Freeze for StarSyncError
impl Move for StarSyncError
impl Send for StarSyncError
impl Sync for StarSyncError
impl Unpin for StarSyncError
impl UnsafeUnpin for StarSyncErrorwhere
NonZeroU16Inner: UnsafeUnpin,
*const Inner is !null: UnsafeUnpin,
PhantomData<Inner>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const () is !null: UnsafeUnpin,
PhantomData<ErrorData<CustomOwner>>: UnsafeUnpin,
*const ErrorImpl is !null: UnsafeUnpin,
PhantomData<ErrorImpl>: UnsafeUnpin,
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