#[non_exhaustive]pub struct LegacyLiveKitRtcTransport {
pub url: Option<String>,
pub service_url: Option<String>,
}๐Deprecated:
Use LiveKitRtcTransport instead unless you require backwards compatibility with older versions of MSC4195.
Available on crate feature
api and crate feature unstable-msc4143 and crate feature unstable-msc4195 and (crate features client-api-c or client-api-s) and (crate features client or server) only.Expand description
Information about a legacy livekit RTC transport.
Fields (Non-exhaustive)ยง
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.url: Option<String>๐Deprecated:
Use LiveKitRtcTransport instead unless you require backwards compatibility with older versions of MSC4195.
The WebSocket URL of the LiveKit SFU.
service_url: Option<String>๐Deprecated:
Use LiveKitRtcTransport instead unless you require backwards compatibility with older versions of MSC4195.
The URL for the LiveKit JWT service.
Implementationsยง
Sourceยงimpl LegacyLiveKitRtcTransport
impl LegacyLiveKitRtcTransport
Sourcepub fn new(url: String) -> LegacyLiveKitRtcTransport
pub fn new(url: String) -> LegacyLiveKitRtcTransport
Creates a new LegacyLiveKitRtcTransport with the given SFU URL.
Sourcepub fn with_service_url(service_url: String) -> LegacyLiveKitRtcTransport
pub fn with_service_url(service_url: String) -> LegacyLiveKitRtcTransport
Creates a new LegacyLiveKitRtcTransport with the given JWT service URL.
Trait Implementationsยง
Sourceยงimpl Clone for LegacyLiveKitRtcTransport
impl Clone for LegacyLiveKitRtcTransport
Sourceยงfn clone(&self) -> LegacyLiveKitRtcTransport
fn clone(&self) -> LegacyLiveKitRtcTransport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) ยท 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 LegacyLiveKitRtcTransport
impl Debug for LegacyLiveKitRtcTransport
Sourceยงimpl<'de> Deserialize<'de> for LegacyLiveKitRtcTransport
impl<'de> Deserialize<'de> for LegacyLiveKitRtcTransport
Sourceยงfn deserialize<__D>(
__deserializer: __D,
) -> Result<LegacyLiveKitRtcTransport, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<LegacyLiveKitRtcTransport, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for LegacyLiveKitRtcTransport
Sourceยงimpl From<LegacyLiveKitRtcTransport> for RtcTransport
impl From<LegacyLiveKitRtcTransport> for RtcTransport
Sourceยงfn from(value: LegacyLiveKitRtcTransport) -> RtcTransport
fn from(value: LegacyLiveKitRtcTransport) -> RtcTransport
Converts to this type from the input type.
Sourceยงimpl Serialize for LegacyLiveKitRtcTransport
impl Serialize for LegacyLiveKitRtcTransport
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 LegacyLiveKitRtcTransport
Auto Trait Implementationsยง
impl Forget for LegacyLiveKitRtcTransport
impl Freeze for LegacyLiveKitRtcTransport
impl Move for LegacyLiveKitRtcTransport
impl RefUnwindSafe for LegacyLiveKitRtcTransport
impl Send for LegacyLiveKitRtcTransport
impl Sync for LegacyLiveKitRtcTransport
impl Unpin for LegacyLiveKitRtcTransport
impl UnsafeUnpin for LegacyLiveKitRtcTransport
impl UnwindSafe for LegacyLiveKitRtcTransport
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Sourceยงimpl<T> DropFlavorWrapper<T> for T
impl<T> DropFlavorWrapper<T> for T
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
Compare self to
key and return true if they are equal.