Enum deno_websocket::NextEventResponse [−][src]
pub enum NextEventResponse {
String(String),
Binary(ZeroCopyBuf),
Close {
code: u16,
reason: String,
},
Ping,
Pong,
Error(String),
Closed,
}
Variants
String(String)
Tuple Fields of String
0: String
Error(String)
Tuple Fields of Error
0: String
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for NextEventResponse
impl Send for NextEventResponse
impl Sync for NextEventResponse
impl Unpin for NextEventResponse
impl UnwindSafe for NextEventResponse
Blanket Implementations
Mutably borrows from an owned value. Read more
impl<T> Serializable for T where
T: Serialize,
impl<T> Serializable for T where
T: Serialize,
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more