#[non_exhaustive]pub enum Application {
Call(CallApplicationContent),
}
Expand description
The type of the MatrixRTC session.
This is not the application/client used by the user but the
type of MatrixRTC session e.g. calling (m.call
), third-room, whiteboard could be
possible applications.
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.
Call(CallApplicationContent)
The rtc application (session type) for VoIP call.
Trait Implementations§
source§impl Clone for Application
impl Clone for Application
source§fn clone(&self) -> Application
fn clone(&self) -> Application
Returns a copy 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 Application
impl Debug for Application
source§impl<'de> Deserialize<'de> for Application
impl<'de> Deserialize<'de> for Application
source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Application, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Application, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<Application> for ApplicationType
impl From<Application> for ApplicationType
source§fn from(val: Application) -> ApplicationType
fn from(val: Application) -> ApplicationType
Converts to this type from the input type.
source§impl PartialEq for Application
impl PartialEq for Application
source§fn eq(&self, other: &Application) -> bool
fn eq(&self, other: &Application) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Application
impl Serialize for Application
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,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for Application
Auto Trait Implementations§
impl Freeze for Application
impl RefUnwindSafe for Application
impl Send for Application
impl Sync for Application
impl Unpin for Application
impl UnwindSafe for Application
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
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)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)