pub struct CloseEvent {
pub session_id: String,
pub channel_name: String,
pub data: EventData,
pub reason: String,
pub connection_state: Option<String>,
pub ice_connection_state: Option<String>,
pub data_channel_state: Option<String>,
}Fields§
§session_id: String§channel_name: String§data: EventData§reason: String§connection_state: Option<String>§ice_connection_state: Option<String>§data_channel_state: Option<String>Trait Implementations§
Source§impl Clone for CloseEvent
impl Clone for CloseEvent
Source§fn clone(&self) -> CloseEvent
fn clone(&self) -> CloseEvent
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 Freeze for CloseEvent
impl RefUnwindSafe for CloseEvent
impl Send for CloseEvent
impl Sync for CloseEvent
impl Unpin for CloseEvent
impl UnsafeUnpin for CloseEvent
impl UnwindSafe for CloseEvent
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