pub struct RuntimeState {
pub context: Context,
pub transaction_context: Rc<TransactionContext>,
pub retbuf: Vec<u8>,
}
Expand description
Runtime state.
Fields§
§context: Context
Runtime context.
transaction_context: Rc<TransactionContext>
Transaction context.
retbuf: Vec<u8>
Return data buffer.
Trait Implementations§
Source§impl AsMut<RuntimeState> for RuntimeState
impl AsMut<RuntimeState> for RuntimeState
Source§fn as_mut(&mut self) -> &mut RuntimeState
fn as_mut(&mut self) -> &mut RuntimeState
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl<'config> AsMut<RuntimeState> for RuntimeStateAndConfig<'config>
impl<'config> AsMut<RuntimeState> for RuntimeStateAndConfig<'config>
Source§fn as_mut(&mut self) -> &mut RuntimeState
fn as_mut(&mut self) -> &mut RuntimeState
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl AsRef<RuntimeState> for RuntimeState
impl AsRef<RuntimeState> for RuntimeState
Source§fn as_ref(&self) -> &RuntimeState
fn as_ref(&self) -> &RuntimeState
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl<'config> AsRef<RuntimeState> for RuntimeStateAndConfig<'config>
impl<'config> AsRef<RuntimeState> for RuntimeStateAndConfig<'config>
Source§fn as_ref(&self) -> &RuntimeState
fn as_ref(&self) -> &RuntimeState
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for RuntimeState
impl Clone for RuntimeState
Source§fn clone(&self) -> RuntimeState
fn clone(&self) -> RuntimeState
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for RuntimeState
impl Debug for RuntimeState
Auto Trait Implementations§
impl Freeze for RuntimeState
impl RefUnwindSafe for RuntimeState
impl !Send for RuntimeState
impl !Sync for RuntimeState
impl Unpin for RuntimeState
impl UnwindSafe for RuntimeState
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> TrapConsume<T> for T
impl<T> TrapConsume<T> for T
Source§type Rest = Infallible
type Rest = Infallible
Rest type.
Source§fn consume(self) -> Result<T, Infallible>
fn consume(self) -> Result<T, Infallible>
Consume
T
to get Rest
.