Enum dropbox_sdk::files::WriteError[][src]

#[non_exhaustive]pub enum WriteError {
    MalformedPath(MalformedPathError),
    Conflict(WriteConflictError),
    NoWritePermission,
    InsufficientSpace,
    DisallowedName,
    TeamFolder,
    OperationSuppressed,
    TooManyWriteOperations,
    Other,
}
This is supported on crate feature dbx_files only.

Variants (Non-exhaustive)

Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
MalformedPath(MalformedPathError)

The given path does not satisfy the required path format. Please refer to the Path formats documentation for more information.

Couldn't write to the target path because there was something in the way.

NoWritePermission

The user doesn't have permissions to write to the target location.

InsufficientSpace

The user doesn't have enough available space (bytes) to write more data.

DisallowedName

Dropbox will not save the file or folder because of its name.

TeamFolder

This endpoint cannot move or delete team folders.

OperationSuppressed

This file operation is not allowed at this path.

TooManyWriteOperations

There are too many write operations in user's Dropbox. Please retry this request.

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 Clone for WriteError[src]

impl Debug for WriteError[src]

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

impl Display for WriteError[src]

impl Error for WriteError[src]

impl PartialEq<WriteError> for WriteError[src]

impl Serialize for WriteError[src]

impl StructuralPartialEq for WriteError[src]

Auto Trait Implementations

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.