pub struct SocketIoError {
pub error: String,
pub message: String,
}Expand description
Serializable failure payload used for both acknowledgement replies and the
mandatory "error" event emitted for failed handlers.
Public Caelix type SocketIoError.
Fields§
§error: StringThe error value.
message: StringThe message value.
Trait Implementations§
Source§impl From<HttpException> for SocketIoError
impl From<HttpException> for SocketIoError
Source§fn from(exception: HttpException) -> Self
fn from(exception: HttpException) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SocketIoError
impl RefUnwindSafe for SocketIoError
impl Send for SocketIoError
impl Sync for SocketIoError
impl Unpin for SocketIoError
impl UnsafeUnpin for SocketIoError
impl UnwindSafe for SocketIoError
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