pub struct RuntimeStoreOperation<'c> { /* private fields */ }
Expand description
A runtime.store
operation. Stores the value into the runtime async.value.
The async.runtime.store
operation stores the value into the runtime
async.value storage.
Implementations§
source§impl<'c> RuntimeStoreOperation<'c>
impl<'c> RuntimeStoreOperation<'c>
sourcepub fn as_operation(&self) -> &Operation<'c>
pub fn as_operation(&self) -> &Operation<'c>
Returns a generic operation.
sourcepub fn builder(
context: &'c Context,
location: Location<'c>
) -> RuntimeStoreOperationBuilder<'c, Unset, Unset>
pub fn builder( context: &'c Context, location: Location<'c> ) -> RuntimeStoreOperationBuilder<'c, Unset, Unset>
Creates a builder.
pub fn value(&self) -> Result<Value<'c, '_>, Error>
pub fn storage(&self) -> Result<Value<'c, '_>, Error>
Trait Implementations§
source§impl<'c> From<RuntimeStoreOperation<'c>> for Operation<'c>
impl<'c> From<RuntimeStoreOperation<'c>> for Operation<'c>
source§fn from(operation: RuntimeStoreOperation<'c>) -> Self
fn from(operation: RuntimeStoreOperation<'c>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'c> RefUnwindSafe for RuntimeStoreOperation<'c>
impl<'c> !Send for RuntimeStoreOperation<'c>
impl<'c> !Sync for RuntimeStoreOperation<'c>
impl<'c> Unpin for RuntimeStoreOperation<'c>
impl<'c> UnwindSafe for RuntimeStoreOperation<'c>
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