[][src]Enum sync15::ErrorKind

pub enum ErrorKind {
    BadKeyLength(&'static strusizeusize),
    HmacMismatch,
    TokenserverHttpError(u16),
    StorageHttpError(ErrorResponse),
    BackoffError(SystemTime),
    RecordTooLargeError,
    RecordUploadFailed,
    StorageResetError,
    UnacceptableUrl(String),
    MissingServerTimestamp,
    ServerBatchProblem(&'static str),
    SetupRace,
    ClientUpgradeRequired,
    SetupRequired,
    StoreError(Error),
    CryptoError(Error),
    Base64Decode(DecodeError),
    JsonError(Error),
    BadCleartextUtf8(FromUtf8Error),
    RequestError(Error),
    UnexpectedStatus(UnexpectedStatus),
    HawkError(Error),
    MalformedUrl(ParseError),
    Interrupted(Interrupted),
}

Variants

BadKeyLength(&'static strusizeusize)
HmacMismatch
TokenserverHttpError(u16)
StorageHttpError(ErrorResponse)
BackoffError(SystemTime)
RecordTooLargeError
RecordUploadFailed
StorageResetError

Used for things like a node reassignment or an unexpected syncId implying the app needs to "reset" its understanding of remote storage.

UnacceptableUrl(String)
MissingServerTimestamp
ServerBatchProblem(&'static str)
SetupRace
ClientUpgradeRequired
SetupRequired
StoreError(Error)
CryptoError(Error)
Base64Decode(DecodeError)
JsonError(Error)
BadCleartextUtf8(FromUtf8Error)
RequestError(Error)
UnexpectedStatus(UnexpectedStatus)
HawkError(Error)
MalformedUrl(ParseError)
Interrupted(Interrupted)

Trait Implementations

impl Debug for ErrorKind[src]

impl Display for ErrorKind[src]

impl Error for ErrorKind[src]

impl From<DecodeError> for ErrorKind[src]

impl From<Error> for ErrorKind[src]

impl From<Error> for ErrorKind[src]

impl From<Error> for ErrorKind[src]

impl From<Error> for ErrorKind[src]

impl From<Error> for ErrorKind[src]

impl From<ErrorKind> for Error[src]

impl From<FromUtf8Error> for ErrorKind[src]

impl From<Interrupted> for ErrorKind[src]

impl From<ParseError> for ErrorKind[src]

impl From<UnacceptableBaseUrl> for ErrorKind[src]

impl From<UnexpectedStatus> for ErrorKind[src]

Auto Trait Implementations

impl !RefUnwindSafe for ErrorKind

impl Send for ErrorKind

impl Sync for ErrorKind

impl Unpin for ErrorKind

impl !UnwindSafe for ErrorKind

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,