Enum matrix_sdk_base::store::QueueWedgeError
source · pub enum QueueWedgeError {
InsecureDevices {
user_device_map: BTreeMap<OwnedUserId, Vec<OwnedDeviceId>>,
},
IdentityViolations {
users: Vec<OwnedUserId>,
},
CrossVerificationRequired,
GenericApiError {
msg: String,
},
}
Expand description
Represents a failed to send unrecoverable error of an event sent via the send queue.
It is a serializable representation of a client error, see
From
implementation for more details. These errors can not be
automatically retried, but yet some manual action can be taken before retry
sending. If not the only solution is to delete the local event.
Variants§
InsecureDevices
This error occurs when there are some insecure devices in the room, and the current encryption setting prohibits sharing with them.
Fields
user_device_map: BTreeMap<OwnedUserId, Vec<OwnedDeviceId>>
The insecure devices as a Map of userID to deviceID.
IdentityViolations
This error occurs when a previously verified user is not anymore, and the current encryption setting prohibits sharing when it happens.
Fields
users: Vec<OwnedUserId>
The users that are expected to be verified but are not.
CrossVerificationRequired
It is required to set up cross-signing and properly verify the current session before sending.
GenericApiError
Other errors.
Trait Implementations§
source§impl Clone for QueueWedgeError
impl Clone for QueueWedgeError
source§fn clone(&self) -> QueueWedgeError
fn clone(&self) -> QueueWedgeError
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for QueueWedgeError
impl Debug for QueueWedgeError
source§impl<'de> Deserialize<'de> for QueueWedgeError
impl<'de> Deserialize<'de> for QueueWedgeError
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
source§impl Display for QueueWedgeError
impl Display for QueueWedgeError
source§impl Error for QueueWedgeError
impl Error for QueueWedgeError
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
Auto Trait Implementations§
impl Freeze for QueueWedgeError
impl RefUnwindSafe for QueueWedgeError
impl Send for QueueWedgeError
impl Sync for QueueWedgeError
impl Unpin for QueueWedgeError
impl UnwindSafe for QueueWedgeError
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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 more