pub enum NextEventResponse {
String(String),
Binary(ZeroCopyBuf),
Close {
code: u16,
reason: String,
},
Ping,
Pong,
Error(String),
Closed,
}
Show fields
Serialize this value into the given Serde serializer. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T> Serializable for T where
T: Serialize,
pub fn to_v8(
&self,
scope: &mut HandleScope<'a, Context>
) -> Result<Local<'a, Value>, Error>
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.
impl<V, T> VZip<V> for T where
V: MultiLane<T>,