[−][src]Struct ruma_events::dummy::DummyEvent
This event type is used to indicate new Olm sessions for end-to-end encryption.
Typically it is encrypted as an m.room.encrypted event, then sent as a to-device event.
The event does not have any content associated with it. The sending client is expected to send a key share request shortly after this message, causing the receiving client to process this m.dummy event as the most recent event and using the keyshare request to set up the session. The keyshare request and m.dummy combination should result in the original sending client receiving keys over the newly established session.
Fields
content: DummyEventContent
The event's content.
Trait Implementations
impl Clone for DummyEvent
[src]
fn clone(&self) -> DummyEvent
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for DummyEvent
[src]
impl Event for DummyEvent
[src]
type Content = DummyEventContent
The type of this event's content
field.
fn content(&self) -> &Self::Content
[src]
The event's content.
fn event_type(&self) -> EventType
[src]
The type of the event.
impl From<DummyEvent> for Event
[src]
fn from(event: DummyEvent) -> Self
[src]
impl From<DummyEvent> for Event
[src]
fn from(event: DummyEvent) -> Self
[src]
impl FromRaw for DummyEvent
[src]
impl PartialEq<DummyEvent> for DummyEvent
[src]
fn eq(&self, other: &DummyEvent) -> bool
[src]
fn ne(&self, other: &DummyEvent) -> bool
[src]
impl Serialize for DummyEvent
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for DummyEvent
[src]
Auto Trait Implementations
impl RefUnwindSafe for DummyEvent
impl Send for DummyEvent
impl Sync for DummyEvent
impl Unpin for DummyEvent
impl UnwindSafe for DummyEvent
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,