pub enum CoreError {
Show 56 variants
AccountExists,
AccountNonexistent,
AccountStringCorrupted,
AlreadyCanceled,
AlreadyPremium,
AppStoreAccountAlreadyLinked,
AlreadySyncing,
CannotCancelSubscriptionForAppStore,
CardDecline,
CardExpired,
CardInsufficientFunds,
CardInvalidCvc,
CardInvalidExpMonth,
CardInvalidExpYear,
CardInvalidNumber,
CardNotSupported,
ClientUpdateRequired,
CurrentUsageIsMoreThanNewTier,
DiskPathInvalid,
DiskPathTaken,
DrawingInvalid,
ExistingRequestPending,
FileNameContainsSlash,
FileNameTooLong,
FileNameEmpty,
FileNonexistent,
FileNotDocument,
FileNotFolder,
FileParentNonexistent,
FolderMovedIntoSelf,
InsufficientPermission,
InvalidPurchaseToken,
InvalidAuthDetails,
KeyPhraseInvalid,
LinkInSharedFolder,
LinkTargetIsOwned,
LinkTargetNonexistent,
MultipleLinksToSameFile,
NotPremium,
UsageIsOverDataCap,
UsageIsOverFreeTierDataCap,
OldCardDoesNotExist,
PathContainsEmptyFileName,
PathTaken,
RootModificationInvalid,
RootNonexistent,
ServerDisabled,
ServerUnreachable,
ShareAlreadyExists,
ShareNonexistent,
TryAgain,
UsernameInvalid,
UsernameNotFound,
UsernamePublicKeyMismatch,
UsernameTaken,
Unexpected(String),
}Variants§
AccountExists
AccountNonexistent
AccountStringCorrupted
AlreadyCanceled
AlreadyPremium
AppStoreAccountAlreadyLinked
AlreadySyncing
CannotCancelSubscriptionForAppStore
CardDecline
CardExpired
CardInsufficientFunds
CardInvalidCvc
CardInvalidExpMonth
CardInvalidExpYear
CardInvalidNumber
CardNotSupported
ClientUpdateRequired
CurrentUsageIsMoreThanNewTier
DiskPathInvalid
DiskPathTaken
DrawingInvalid
ExistingRequestPending
FileNameContainsSlash
FileNameTooLong
FileNameEmpty
FileNonexistent
FileNotDocument
FileNotFolder
FileParentNonexistent
FolderMovedIntoSelf
InsufficientPermission
InvalidPurchaseToken
InvalidAuthDetails
KeyPhraseInvalid
LinkTargetIsOwned
LinkTargetNonexistent
MultipleLinksToSameFile
NotPremium
UsageIsOverDataCap
UsageIsOverFreeTierDataCap
OldCardDoesNotExist
PathContainsEmptyFileName
PathTaken
RootModificationInvalid
RootNonexistent
ServerDisabled
ServerUnreachable
TryAgain
UsernameInvalid
UsernameNotFound
UsernamePublicKeyMismatch
UsernameTaken
Unexpected(String)
Trait Implementations§
impl Eq for CoreError
impl StructuralPartialEq for CoreError
Auto Trait Implementations§
impl Freeze for CoreError
impl RefUnwindSafe for CoreError
impl Send for CoreError
impl Sync for CoreError
impl Unpin for CoreError
impl UnwindSafe for CoreError
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.