pub enum SteadyStateError {
BackupDisabled,
Connection,
Lagged,
}
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)>
Returns 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 Freeze for SteadyStateError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
Source§impl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere
T: ?Sized,
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more