#[repr(C)]pub enum DittoErrorCode {
Ok = 0,
Unknown = 1,
NotImplemented = 2,
FailedToAcquireLockFile = 16_777_217,
InvalidPassphrase = 33_554_433,
ExtraneousPassphraseGiven = 33_554_434,
PassphraseNotGiven = 33_554_435,
AlreadyEncrypted = 33_554_436,
EncryptionFailed = 33_554_437,
CannotBeEncrypted = 33_554_438,
NotInitialized = 33_554_439,
}Variants§
Ok = 0
Unknown = 1
NotImplemented = 2
FailedToAcquireLockFile = 16_777_217
InvalidPassphrase = 33_554_433
ExtraneousPassphraseGiven = 33_554_434
PassphraseNotGiven = 33_554_435
AlreadyEncrypted = 33_554_436
EncryptionFailed = 33_554_437
CannotBeEncrypted = 33_554_438
NotInitialized = 33_554_439
Trait Implementations§
Source§impl Clone for DittoErrorCode
impl Clone for DittoErrorCode
Source§fn clone(&self) -> DittoErrorCode
fn clone(&self) -> DittoErrorCode
Returns a duplicate 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 DittoErrorCode
impl Debug for DittoErrorCode
Source§impl PartialEq for DittoErrorCode
impl PartialEq for DittoErrorCode
impl Eq for DittoErrorCode
impl StructuralPartialEq for DittoErrorCode
Auto Trait Implementations§
impl Freeze for DittoErrorCode
impl RefUnwindSafe for DittoErrorCode
impl Send for DittoErrorCode
impl Sync for DittoErrorCode
impl Unpin for DittoErrorCode
impl UnwindSafe for DittoErrorCode
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