#[non_exhaustive]pub enum FeatureFlag {
    Msc2246,
    Msc2432,
    Msc2659,
    Msc2659Stable,
    Msc2666,
    Msc3030,
    Msc3882,
    Msc3916,
    Msc3916Stable,
    Msc4108,
    Msc4140,
    Msc4186,
}api only.Expand description
The Matrix features supported by Ruma.
Features that are not behind a cargo feature are features that are part of the Matrix specification and that Ruma still supports, like the unstable version of an endpoint or a stable feature. Features behind a cargo feature are only supported when this feature is enabled.
This type can hold an arbitrary string. To build this with a custom value, convert it from a
string with ::from() / .into(). To check for values that are not available as a
documented variant here, use its string representation, obtained through
.as_str().
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Msc2246
fi.mau.msc2246 (MSC)
Asynchronous media uploads.
Msc2432
org.matrix.msc2432 (MSC)
Updated semantics for publishing room aliases.
Msc2659
fi.mau.msc2659 (MSC)
Application service ping endpoint.
Msc2659Stable
fi.mau.msc2659 (MSC)
Stable version of the application service ping endpoint.
Msc2666
uk.half-shot.msc2666.query_mutual_rooms (MSC)
Get rooms in common with another user.
Msc3030
org.matrix.msc3030 (MSC)
Jump to date API endpoint.
Msc3882
org.matrix.msc3882 (MSC)
Allow an existing session to sign in a new session.
Msc3916
org.matrix.msc3916 (MSC)
Authentication for media.
Msc3916Stable
org.matrix.msc3916.stable (MSC)
Stable version of authentication for media.
Msc4108
org.matrix.msc4108 (MSC)
Mechanism to allow OIDC sign in and E2EE set up via QR code.
Msc4140
org.matrix.msc4140 (MSC)
Delayed events.
Msc4186
org.matrix.simplified_msc3575 (MSC)
Simplified Sliding Sync.
Implementations§
Trait Implementations§
Source§impl AsRef<str> for FeatureFlag
 
impl AsRef<str> for FeatureFlag
Source§impl Clone for FeatureFlag
 
impl Clone for FeatureFlag
Source§fn clone(&self) -> FeatureFlag
 
fn clone(&self) -> FeatureFlag
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for FeatureFlag
 
impl Debug for FeatureFlag
Source§impl<'de> Deserialize<'de> for FeatureFlag
 
impl<'de> Deserialize<'de> for FeatureFlag
Source§fn deserialize<D>(
    deserializer: D,
) -> Result<FeatureFlag, <D as Deserializer<'de>>::Error>where
    D: Deserializer<'de>,
 
fn deserialize<D>(
    deserializer: D,
) -> Result<FeatureFlag, <D as Deserializer<'de>>::Error>where
    D: Deserializer<'de>,
Source§impl Display for FeatureFlag
 
impl Display for FeatureFlag
Source§impl<T> From<T> for FeatureFlag
 
impl<T> From<T> for FeatureFlag
Source§fn from(s: T) -> FeatureFlag
 
fn from(s: T) -> FeatureFlag
Source§impl Hash for FeatureFlag
 
impl Hash for FeatureFlag
Source§impl Ord for FeatureFlag
 
impl Ord for FeatureFlag
Source§fn cmp(&self, other: &FeatureFlag) -> Ordering
 
fn cmp(&self, other: &FeatureFlag) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
    Self: Sized,
 
fn max(self, other: Self) -> Selfwhere
    Self: Sized,
Source§impl PartialEq for FeatureFlag
 
impl PartialEq for FeatureFlag
Source§impl PartialOrd for FeatureFlag
 
impl PartialOrd for FeatureFlag
Source§impl Serialize for FeatureFlag
 
impl Serialize for FeatureFlag
Source§fn serialize<S>(
    &self,
    serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
    S: Serializer,
 
fn serialize<S>(
    &self,
    serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
    S: Serializer,
impl Eq for FeatureFlag
Auto Trait Implementations§
impl Freeze for FeatureFlag
impl RefUnwindSafe for FeatureFlag
impl Send for FeatureFlag
impl Sync for FeatureFlag
impl Unpin for FeatureFlag
impl UnwindSafe for FeatureFlag
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<Q, K> Comparable<K> for Q
 
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.