Enum twilight_gateway::error::ProcessErrorType
source · pub enum ProcessErrorType {
Deserializing {
event: String,
},
SendingMessage,
}
Expand description
Type of ProcessError
that occurred.
Variants§
Deserializing
Fields
§
event: String
Gateway event.
Unlike ReceiveMessageErrorType::Deserializing
, the event is
never modified.
Gateway event could not be deserialized.
SendingMessage
👎Deprecated since 0.15.3: not actively constructed
Message could not be sent over the Websocket connection.
This may happen when the shard sends heartbeats or attempts to identify a new gateway session.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for ProcessErrorType
impl Send for ProcessErrorType
impl Sync for ProcessErrorType
impl Unpin for ProcessErrorType
impl UnwindSafe for ProcessErrorType
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