#[non_exhaustive]pub enum PaperDocUpdateError {
InsufficientPermissions,
DocNotFound,
ContentMalformed,
RevisionMismatch,
DocLengthExceeded,
ImageSizeExceeded,
DocArchived,
DocDeleted,
Other,
}
dbx_paper
only.Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
InsufficientPermissions
Your account does not have permissions to perform this action. This may be due to it only having access to Paper as files in the Dropbox filesystem. For more information, refer to the Paper Migration Guide.
DocNotFound
The required doc was not found.
ContentMalformed
The provided content was malformed and cannot be imported to Paper.
RevisionMismatch
The provided revision does not match the document head.
DocLengthExceeded
The newly created Paper doc would be too large, split the content into multiple docs.
ImageSizeExceeded
The imported document contains an image that is too large. The current limit is 1MB. This only applies to HTML with data URI.
DocArchived
This operation is not allowed on archived Paper docs.
DocDeleted
This operation is not allowed on deleted Paper docs.
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§
Source§impl Clone for PaperDocUpdateError
impl Clone for PaperDocUpdateError
Source§fn clone(&self) -> PaperDocUpdateError
fn clone(&self) -> PaperDocUpdateError
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for PaperDocUpdateError
impl Debug for PaperDocUpdateError
Source§impl<'de> Deserialize<'de> for PaperDocUpdateError
impl<'de> Deserialize<'de> for PaperDocUpdateError
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Source§impl Display for PaperDocUpdateError
impl Display for PaperDocUpdateError
Source§impl Error for PaperDocUpdateError
impl Error for PaperDocUpdateError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
Source§impl From<DocLookupError> for PaperDocUpdateError
impl From<DocLookupError> for PaperDocUpdateError
Source§fn from(parent: DocLookupError) -> Self
fn from(parent: DocLookupError) -> Self
Source§impl PartialEq for PaperDocUpdateError
impl PartialEq for PaperDocUpdateError
Source§impl Serialize for PaperDocUpdateError
impl Serialize for PaperDocUpdateError
impl Eq for PaperDocUpdateError
impl StructuralPartialEq for PaperDocUpdateError
Auto Trait Implementations§
impl Freeze for PaperDocUpdateError
impl RefUnwindSafe for PaperDocUpdateError
impl Send for PaperDocUpdateError
impl Sync for PaperDocUpdateError
impl Unpin for PaperDocUpdateError
impl UnwindSafe for PaperDocUpdateError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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
key
and return true
if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string
, but without panic on OOM.