pub enum CallServerType {
TelegramReflector(CallServerTypeTelegramReflector),
Webrtc(CallServerTypeWebrtc),
// some variants omitted
}
Expand description
Describes the type of a call server
Variants§
TelegramReflector(CallServerTypeTelegramReflector)
A Telegram call reflector
Webrtc(CallServerTypeWebrtc)
A WebRTC server
Implementations§
Trait Implementations§
Source§impl AsRef<CallServerType> for CallServerType
impl AsRef<CallServerType> for CallServerType
Source§fn as_ref(&self) -> &CallServerType
fn as_ref(&self) -> &CallServerType
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for CallServerType
impl Clone for CallServerType
Source§fn clone(&self) -> CallServerType
fn clone(&self) -> CallServerType
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 CallServerType
impl Debug for CallServerType
Source§impl Default for CallServerType
impl Default for CallServerType
Source§fn default() -> CallServerType
fn default() -> CallServerType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CallServerType
impl<'de> Deserialize<'de> for CallServerType
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
Auto Trait Implementations§
impl Freeze for CallServerType
impl RefUnwindSafe for CallServerType
impl Send for CallServerType
impl Sync for CallServerType
impl Unpin for CallServerType
impl UnwindSafe for CallServerType
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