#[non_exhaustive]
pub enum GetTeamEventsContinueError {
BadCursor,
Reset(DropboxTimestamp),
Other,
}dbx_team_log only.Expand description
Errors that can be raised when calling get_events_continue().
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
BadCursor
Bad cursor.
Reset(DropboxTimestamp)
Cursors are intended to be used quickly. Individual cursor values are normally valid for
days, but in rare cases may be reset sooner. Cursor reset errors should be handled by
fetching a new cursor from get_events(). The associated value is the
approximate timestamp of the most recent event returned by the cursor. This should be used
as a resumption point when calling get_events() to obtain a new cursor.
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
sourceimpl Clone for GetTeamEventsContinueError
impl Clone for GetTeamEventsContinueError
sourcefn clone(&self) -> GetTeamEventsContinueError
fn clone(&self) -> GetTeamEventsContinueError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for GetTeamEventsContinueError
impl Debug for GetTeamEventsContinueError
sourceimpl<'de> Deserialize<'de> for GetTeamEventsContinueError
impl<'de> Deserialize<'de> for GetTeamEventsContinueError
sourcefn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Display for GetTeamEventsContinueError
impl Display for GetTeamEventsContinueError
sourceimpl Error for GetTeamEventsContinueError
impl Error for GetTeamEventsContinueError
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
backtrace)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
sourceimpl PartialEq<GetTeamEventsContinueError> for GetTeamEventsContinueError
impl PartialEq<GetTeamEventsContinueError> for GetTeamEventsContinueError
sourcefn eq(&self, other: &GetTeamEventsContinueError) -> bool
fn eq(&self, other: &GetTeamEventsContinueError) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &GetTeamEventsContinueError) -> bool
fn ne(&self, other: &GetTeamEventsContinueError) -> bool
This method tests for !=.
impl Eq for GetTeamEventsContinueError
impl StructuralEq for GetTeamEventsContinueError
impl StructuralPartialEq for GetTeamEventsContinueError
Auto Trait Implementations
impl RefUnwindSafe for GetTeamEventsContinueError
impl Send for GetTeamEventsContinueError
impl Sync for GetTeamEventsContinueError
impl Unpin for GetTeamEventsContinueError
impl UnwindSafe for GetTeamEventsContinueError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more