[−][src]Enum dropbox_sdk::files::UploadSessionLookupError
dbx_files
only.Variants (Non-exhaustive)
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.
You are attempting to append data to an upload session that has already been closed (i.e. committed).
The session must be closed before calling upload_session/finish_batch.
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).
For concurrent upload sessions, offset needs to be multiple of 4194304 bytes.
For concurrent upload sessions, only chunks with size multiple of 4194304 bytes can be uploaded.
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 UploadSessionLookupError
[src]
pub fn clone(&self) -> UploadSessionLookupError
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for UploadSessionLookupError
[src]
impl<'de> Deserialize<'de> for UploadSessionLookupError
[src]
pub fn deserialize<D: Deserializer<'de>>(
deserializer: D
) -> Result<Self, D::Error>
[src]
deserializer: D
) -> Result<Self, D::Error>
impl Display for UploadSessionLookupError
[src]
impl Error for UploadSessionLookupError
[src]
pub fn description(&self) -> &str
[src]
pub fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
pub fn backtrace(&self) -> Option<&Backtrace>
[src]
pub fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl PartialEq<UploadSessionLookupError> for UploadSessionLookupError
[src]
pub fn eq(&self, other: &UploadSessionLookupError) -> bool
[src]
pub fn ne(&self, other: &UploadSessionLookupError) -> bool
[src]
impl Serialize for UploadSessionLookupError
[src]
impl StructuralPartialEq for UploadSessionLookupError
[src]
Auto Trait Implementations
impl RefUnwindSafe for UploadSessionLookupError
impl Send for UploadSessionLookupError
impl Sync for UploadSessionLookupError
impl Unpin for UploadSessionLookupError
impl UnwindSafe for UploadSessionLookupError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,