Struct core_processor::ContextChargedForCode
source · pub struct ContextChargedForCode { /* private fields */ }
Expand description
The instance returned by precharge_for_code
.
Existence of the instance means that corresponding counters were
successfully charged for fetching the binary code from storage.
Trait Implementations§
source§impl From<(ContextChargedForCodeLength, u32)> for ContextChargedForCode
impl From<(ContextChargedForCodeLength, u32)> for ContextChargedForCode
source§impl From<ContextChargedForCode> for ContextChargedForInstrumentation
impl From<ContextChargedForCode> for ContextChargedForInstrumentation
source§fn from(context: ContextChargedForCode) -> Self
fn from(context: ContextChargedForCode) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for ContextChargedForCode
impl Send for ContextChargedForCode
impl Sync for ContextChargedForCode
impl Unpin for ContextChargedForCode
impl UnwindSafe for ContextChargedForCode
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