pub struct WebSocketExceptionResponse { /* private fields */ }Expand description
Handled WebSocket exception response.
Implementations§
Source§impl WebSocketExceptionResponse
impl WebSocketExceptionResponse
pub fn message(message: WebSocketMessage) -> Self
pub fn empty() -> Self
pub fn into_message(self) -> Option<WebSocketMessage>
Trait Implementations§
Source§impl Clone for WebSocketExceptionResponse
impl Clone for WebSocketExceptionResponse
Source§fn clone(&self) -> WebSocketExceptionResponse
fn clone(&self) -> WebSocketExceptionResponse
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 WebSocketExceptionResponse
impl Debug for WebSocketExceptionResponse
Source§impl From<WebSocketMessage> for WebSocketExceptionResponse
impl From<WebSocketMessage> for WebSocketExceptionResponse
Source§fn from(message: WebSocketMessage) -> Self
fn from(message: WebSocketMessage) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for WebSocketExceptionResponse
Auto Trait Implementations§
impl Freeze for WebSocketExceptionResponse
impl RefUnwindSafe for WebSocketExceptionResponse
impl Send for WebSocketExceptionResponse
impl Sync for WebSocketExceptionResponse
impl Unpin for WebSocketExceptionResponse
impl UnsafeUnpin for WebSocketExceptionResponse
impl UnwindSafe for WebSocketExceptionResponse
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