pub enum CoreError {
Show 55 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,
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
LinkTargetIsOwned
LinkTargetNonexistent
MultipleLinksToSameFile
NotPremium
UsageIsOverDataCap
UsageIsOverFreeTierDataCap
OldCardDoesNotExist
PathContainsEmptyFileName
PathTaken
RootModificationInvalid
RootNonexistent
ServerDisabled
ServerUnreachable
TryAgain
UsernameInvalid
UsernameNotFound
UsernamePublicKeyMismatch
UsernameTaken
Unexpected(String)
Trait Implementations§
source§impl PartialEq for CoreError
impl PartialEq for CoreError
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<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.