pub struct WebSocketCloseInfo {
pub timestamp: Option<f64>,
}Expand description
Information about a closed WebSocket connection.
Fields§
§timestamp: Option<f64>Wall-time timestamp (seconds since epoch) reported by
webSocketClosed, if any.
Trait Implementations§
Source§impl Clone for WebSocketCloseInfo
impl Clone for WebSocketCloseInfo
Source§fn clone(&self) -> WebSocketCloseInfo
fn clone(&self) -> WebSocketCloseInfo
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 WebSocketCloseInfo
impl Debug for WebSocketCloseInfo
Source§impl Default for WebSocketCloseInfo
impl Default for WebSocketCloseInfo
Source§fn default() -> WebSocketCloseInfo
fn default() -> WebSocketCloseInfo
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for WebSocketCloseInfo
impl RefUnwindSafe for WebSocketCloseInfo
impl Send for WebSocketCloseInfo
impl Sync for WebSocketCloseInfo
impl Unpin for WebSocketCloseInfo
impl UnsafeUnpin for WebSocketCloseInfo
impl UnwindSafe for WebSocketCloseInfo
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