pub enum RecvErr {
Missing(Vec<String>),
Other(MatrixError),
}Expand description
Why a peer’s event was not taken.
Variants§
Missing(Vec<String>)
Events this event needs (prev or auth) are unknown here; fetch them from the peer and retry.
Other(MatrixError)
Trait Implementations§
Source§impl From<MatrixError> for RecvErr
impl From<MatrixError> for RecvErr
Source§fn from(e: MatrixError) -> Self
fn from(e: MatrixError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RecvErr
impl RefUnwindSafe for RecvErr
impl Send for RecvErr
impl Sync for RecvErr
impl Unpin for RecvErr
impl UnsafeUnpin for RecvErr
impl UnwindSafe for RecvErr
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