pub struct WasmOutput<T> { /* private fields */ }
Implementations§
Source§impl<T: Serialize> WasmOutput<T>
impl<T: Serialize> WasmOutput<T>
pub fn new(context: &WasmContext, value: &T) -> WasmOutput<T>
👎Deprecated: Use
Context::new_output
insteadpub fn new_secret(context: &WasmContext, value: &T) -> WasmOutput<T>
👎Deprecated: Use
Context::new_secret
insteadTrait Implementations§
Source§impl<T> Clone for WasmOutput<T>
impl<T> Clone for WasmOutput<T>
Auto Trait Implementations§
impl<T> !Freeze for WasmOutput<T>
impl<T> RefUnwindSafe for WasmOutput<T>where
T: RefUnwindSafe,
impl<T> !Send for WasmOutput<T>
impl<T> !Sync for WasmOutput<T>
impl<T> Unpin for WasmOutput<T>where
T: Unpin,
impl<T> UnwindSafe for WasmOutput<T>where
T: UnwindSafe,
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