pub enum CallServerType {
TelegramReflector(CallServerTypeTelegramReflector),
Webrtc(CallServerTypeWebrtc),
}
Variants§
TelegramReflector(CallServerTypeTelegramReflector)
A Telegram call reflector
Webrtc(CallServerTypeWebrtc)
A WebRTC server
Trait Implementations§
Source§impl Clone for CallServerType
impl Clone for CallServerType
Source§fn clone(&self) -> CallServerType
fn clone(&self) -> CallServerType
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 CallServerType
impl Debug for CallServerType
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
Source§impl PartialEq for CallServerType
impl PartialEq for CallServerType
Source§impl Serialize for CallServerType
impl Serialize for CallServerType
impl StructuralPartialEq for CallServerType
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