#[non_exhaustive]pub enum RawStrippedState {
Stripped(Raw<AnyStrippedStateEvent>),
Pdu(Box<RawValue>),
}
Expand description
Possible event formats that may appear in stripped state.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Stripped(Raw<AnyStrippedStateEvent>)
A stripped state event.
Pdu(Box<RawValue>)
Available on crate feature
unstable-msc4311
only.A full federation PDU.
Trait Implementations§
Source§impl Clone for RawStrippedState
impl Clone for RawStrippedState
Source§fn clone(&self) -> RawStrippedState
fn clone(&self) -> RawStrippedState
Returns a duplicate 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 RawStrippedState
impl Debug for RawStrippedState
Source§impl<'de> Deserialize<'de> for RawStrippedState
impl<'de> Deserialize<'de> for RawStrippedState
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<Raw<AnyStrippedStateEvent>> for RawStrippedState
impl From<Raw<AnyStrippedStateEvent>> for RawStrippedState
Source§fn from(value: Raw<AnyStrippedStateEvent>) -> Self
fn from(value: Raw<AnyStrippedStateEvent>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RawStrippedState
impl RefUnwindSafe for RawStrippedState
impl Send for RawStrippedState
impl Sync for RawStrippedState
impl Unpin for RawStrippedState
impl UnwindSafe for RawStrippedState
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