pub enum SteadyStateError {
BackupDisabled,
Connection,
Lagged,
}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
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
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 UnsafeUnpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> DropFlavorWrapper<T> for T
impl<T> DropFlavorWrapper<T> for T
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>
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>
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 moreSource§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.