Trait wasm_rs_shared_channel::Shareable [−][src]
Any type that can be sent through a shared channel must implement this
Associated Types
Loading content...Required methods
fn to_bytes(&self) -> Result<Uint8Array, Self::Error>
[src]
Converts value into a js_sys::Uint8Array
fn from(bytes: &Uint8Array) -> Result<Result<Self, Expects>, Self::Error>
[src]
Converts js_sys::Uint8Array
into a value
Implementors
impl<T> Shareable for T where
T: Serialize + Deserialize<'a>,
[src]
T: Serialize + Deserialize<'a>,