pub struct CB(/* private fields */);
Expand description
Get current block proposer’s address.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for CB
impl<'de> Deserialize<'de> for CB
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<CB> for Instruction
impl From<CB> for Instruction
source§impl FromWasmAbi for CB
impl FromWasmAbi for CB
source§impl IntoWasmAbi for CB
impl IntoWasmAbi for CB
source§impl LongRefFromWasmAbi for CB
impl LongRefFromWasmAbi for CB
source§impl OptionFromWasmAbi for CB
impl OptionFromWasmAbi for CB
source§impl OptionIntoWasmAbi for CB
impl OptionIntoWasmAbi for CB
source§impl RefFromWasmAbi for CB
impl RefFromWasmAbi for CB
source§impl RefMutFromWasmAbi for CB
impl RefMutFromWasmAbi for CB
source§impl TryFromJsValue for CB
impl TryFromJsValue for CB
source§impl VectorFromWasmAbi for CB
impl VectorFromWasmAbi for CB
source§impl VectorIntoWasmAbi for CB
impl VectorIntoWasmAbi for CB
impl Copy for CB
impl Eq for CB
impl StructuralPartialEq for CB
Auto Trait Implementations§
impl Freeze for CB
impl RefUnwindSafe for CB
impl Send for CB
impl Sync for CB
impl Unpin for CB
impl UnwindSafe for CB
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::Abi
source§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
.