pub struct Connection {Show 13 fields
pub id: ConnectionId,
pub session_id: SessionId,
pub participant_id: ParticipantId,
pub transport: Transport,
pub direction: Direction,
pub state: ConnectionState,
pub capabilities: CapabilityDescriptor,
pub negotiated_codecs: NegotiatedCodecs,
pub streams: Vec<MediaStreamHandle>,
pub messaging_enabled: bool,
pub transport_handle: TransportHandle,
pub opened_at: DateTime<Utc>,
pub closed_at: Option<DateTime<Utc>>,
}Fields§
§id: ConnectionId§session_id: SessionId§participant_id: ParticipantId§transport: Transport§direction: Direction§state: ConnectionState§capabilities: CapabilityDescriptor§negotiated_codecs: NegotiatedCodecs§streams: Vec<MediaStreamHandle>§messaging_enabled: bool§transport_handle: TransportHandle§opened_at: DateTime<Utc>§closed_at: Option<DateTime<Utc>>Trait Implementations§
Source§impl Clone for Connection
impl Clone for Connection
Source§fn clone(&self) -> Connection
fn clone(&self) -> Connection
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for Connection
impl !UnwindSafe for Connection
impl Freeze for Connection
impl Send for Connection
impl Sync for Connection
impl Unpin for Connection
impl UnsafeUnpin for Connection
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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