Enum worker_plus::WebsocketEvent
source · pub enum WebsocketEvent {
Message(MessageEvent),
Close(CloseEvent),
}
Expand description
Events that can be yielded by a EventStream
.
Variants§
Message(MessageEvent)
Close(CloseEvent)
Trait Implementations§
source§impl Clone for WebsocketEvent
impl Clone for WebsocketEvent
source§fn clone(&self) -> WebsocketEvent
fn clone(&self) -> WebsocketEvent
Returns a copy 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 more