Enum rtdlib::types::CallServerType
source · [−]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
pub fn on_telegram_reflector<F: FnOnce(&CallServerTypeTelegramReflector)>(
&self,
fnc: F
) -> &Self
Trait Implementations
Performs the conversion.
fn deserialize<D>(deserializer: D) -> Result<CallServerType, D::Error> where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<CallServerType, D::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for CallServerType
impl Send for CallServerType
impl Sync for CallServerType
impl Unpin for CallServerType
impl UnwindSafe for CallServerType
Blanket Implementations
Mutably borrows from an owned value. Read more