Trait gear_common::Origin
source · pub trait Origin: Sized {
// Required methods
fn into_origin(self) -> H256;
fn from_origin(val: H256) -> Self;
// Provided method
fn cast<T: Origin>(self) -> T { ... }
}
Expand description
NOTE: Implementation of this for u64
places bytes from idx=0.
Required Methods§
fn into_origin(self) -> H256
fn from_origin(val: H256) -> Self
Provided Methods§
Object Safety§
This trait is not object safe.