Enum matrix_sdk::encryption::backups::futures::SteadyStateError
source · pub enum SteadyStateError {
BackupDisabled,
Connection,
Lagged,
}
Available on crate feature
e2e-encryption
only.Expand description
Error describing the ways that waiting for the backup upload to settle down can fail.
Variants§
BackupDisabled
The currently active backup got either deleted or a new one was created.
No further room keys will be uploaded to the currently active backup.
Connection
Uploading the room keys to the homeserver failed due to a network error.
Uploading will be retried again at a later point in time, or immediately if you wait for the steady state again.
Lagged
We missed some updates to the UploadState
from the upload task.
This error doesn’t imply that there was an error with the uploading of
room keys, it just means that we didn’t receive all the transitions
in the UploadState
. You might want to retry waiting for the
steady state.
Trait Implementations§
source§impl Clone for SteadyStateError
impl Clone for SteadyStateError
source§fn clone(&self) -> SteadyStateError
fn clone(&self) -> SteadyStateError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SteadyStateError
impl Debug for SteadyStateError
source§impl Display for SteadyStateError
impl Display for SteadyStateError
source§impl Error for SteadyStateError
impl Error for SteadyStateError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
impl Copy for SteadyStateError
Auto Trait Implementations§
impl RefUnwindSafe for SteadyStateError
impl Send for SteadyStateError
impl Sync for SteadyStateError
impl Unpin for SteadyStateError
impl UnwindSafe for SteadyStateError
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
Mutably borrows from an owned value. Read more
§impl<T> CompatExt for T
impl<T> CompatExt for T
§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
Create a new handle for an Arc value Read more
§fn clone_handle(handle: Handle) -> Handle
fn clone_handle(handle: Handle) -> Handle
Clone a handle Read more
§fn consume_handle(handle: Handle) -> Arc<T>
fn consume_handle(handle: Handle) -> Arc<T>
Consume a handle, getting back the initial
Arc<>