Struct core_processor::common::PrechargedDispatch
source · pub struct PrechargedDispatch { /* private fields */ }
Expand description
Struct with dispatch and counters charged for program data.
Implementations§
source§impl PrechargedDispatch
impl PrechargedDispatch
sourcepub fn into_dispatch_and_note(self) -> (IncomingDispatch, Vec<JournalNote>)
pub fn into_dispatch_and_note(self) -> (IncomingDispatch, Vec<JournalNote>)
Decompose this instance into dispatch and journal.
sourcepub fn into_parts(self) -> (IncomingDispatch, GasCounter, GasAllowanceCounter)
pub fn into_parts(self) -> (IncomingDispatch, GasCounter, GasAllowanceCounter)
Decompose the instance into parts.
Trait Implementations§
source§impl Debug for PrechargedDispatch
impl Debug for PrechargedDispatch
source§impl From<(IncomingDispatch, GasCounter, GasAllowanceCounter)> for PrechargedDispatch
impl From<(IncomingDispatch, GasCounter, GasAllowanceCounter)> for PrechargedDispatch
source§fn from(
(dispatch, gas, allowance): (IncomingDispatch, GasCounter, GasAllowanceCounter)
) -> Self
fn from( (dispatch, gas, allowance): (IncomingDispatch, GasCounter, GasAllowanceCounter) ) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for PrechargedDispatch
impl Send for PrechargedDispatch
impl Sync for PrechargedDispatch
impl Unpin for PrechargedDispatch
impl UnwindSafe for PrechargedDispatch
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