[][src]Enum dropbox_sdk::files::UploadSessionLookupError

pub enum UploadSessionLookupError {
    NotFound,
    IncorrectOffset(UploadSessionOffsetError),
    Closed,
    NotClosed,
    TooLarge,
    Other,
}

Variants

NotFound

The upload session ID was not found or has expired. Upload sessions are valid for 48 hours.

IncorrectOffset(UploadSessionOffsetError)

The specified offset was incorrect. See the value for the correct offset. This error may occur when a previous request was received and processed successfully but the client did not receive the response, e.g. due to a network error.

Closed

You are attempting to append data to an upload session that has already been closed (i.e. committed).

NotClosed

The session must be closed before calling upload_session/finish_batch.

TooLarge

You can not append to the upload session because the size of a file should not reach the max file size limit (i.e. 350GB).

Other

Catch-all used for unrecognized values returned from the server. Encountering this value typically indicates that this SDK version is out of date.

Trait Implementations

impl Display for UploadSessionLookupError[src]

impl Debug for UploadSessionLookupError[src]

impl Error for UploadSessionLookupError[src]

impl Serialize for UploadSessionLookupError[src]

impl<'de> Deserialize<'de> for UploadSessionLookupError[src]

Auto Trait Implementations

Blanket Implementations

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

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

impl<T> From<T> for T[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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Typeable for T where
    T: Any

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]