pub struct WebSocketFrameSentEvent { /* private fields */ }
Available on crate features
Network
and Debugger
and Runtime
and Security
only.Expand description
Fired when WebSocket message is sent.
Implementations§
Source§impl WebSocketFrameSentEvent
impl WebSocketFrameSentEvent
pub fn new( request_id: RequestId, timestamp: MonotonicTime, response: WebSocketFrame, ) -> Self
Sourcepub fn request_id(&self) -> &RequestId
pub fn request_id(&self) -> &RequestId
Request identifier.
Sourcepub fn timestamp(&self) -> &MonotonicTime
pub fn timestamp(&self) -> &MonotonicTime
Timestamp.
Sourcepub fn response(&self) -> &WebSocketFrame
pub fn response(&self) -> &WebSocketFrame
WebSocket response data.
Trait Implementations§
Source§impl Clone for WebSocketFrameSentEvent
impl Clone for WebSocketFrameSentEvent
Source§fn clone(&self) -> WebSocketFrameSentEvent
fn clone(&self) -> WebSocketFrameSentEvent
Returns a duplicate of the value. Read more
1.0.0 · 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 WebSocketFrameSentEvent
impl Debug for WebSocketFrameSentEvent
Source§impl<'de> Deserialize<'de> for WebSocketFrameSentEvent
impl<'de> Deserialize<'de> for WebSocketFrameSentEvent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for WebSocketFrameSentEvent
impl RefUnwindSafe for WebSocketFrameSentEvent
impl Send for WebSocketFrameSentEvent
impl Sync for WebSocketFrameSentEvent
impl Unpin for WebSocketFrameSentEvent
impl UnwindSafe for WebSocketFrameSentEvent
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