pub enum LightClientMessageUnion {
GetLastState(GetLastState),
SendLastState(SendLastState),
GetLastStateProof(GetLastStateProof),
SendLastStateProof(SendLastStateProof),
GetBlocksProof(GetBlocksProof),
SendBlocksProof(SendBlocksProof),
GetTransactionsProof(GetTransactionsProof),
SendTransactionsProof(SendTransactionsProof),
}
Variants§
GetLastState(GetLastState)
SendLastState(SendLastState)
GetLastStateProof(GetLastStateProof)
SendLastStateProof(SendLastStateProof)
GetBlocksProof(GetBlocksProof)
SendBlocksProof(SendBlocksProof)
GetTransactionsProof(GetTransactionsProof)
SendTransactionsProof(SendTransactionsProof)
Implementations§
Trait Implementations§
Source§impl Clone for LightClientMessageUnion
impl Clone for LightClientMessageUnion
Source§fn clone(&self) -> LightClientMessageUnion
fn clone(&self) -> LightClientMessageUnion
Returns a copy 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 LightClientMessageUnion
impl Debug for LightClientMessageUnion
Source§impl Default for LightClientMessageUnion
impl Default for LightClientMessageUnion
Source§fn default() -> LightClientMessageUnion
fn default() -> LightClientMessageUnion
Returns the “default value” for a type. Read more
Source§impl Display for LightClientMessageUnion
impl Display for LightClientMessageUnion
Source§impl From<GetBlocksProof> for LightClientMessageUnion
impl From<GetBlocksProof> for LightClientMessageUnion
Source§fn from(item: GetBlocksProof) -> LightClientMessageUnion
fn from(item: GetBlocksProof) -> LightClientMessageUnion
Converts to this type from the input type.
Source§impl From<GetLastState> for LightClientMessageUnion
impl From<GetLastState> for LightClientMessageUnion
Source§fn from(item: GetLastState) -> LightClientMessageUnion
fn from(item: GetLastState) -> LightClientMessageUnion
Converts to this type from the input type.
Source§impl From<GetLastStateProof> for LightClientMessageUnion
impl From<GetLastStateProof> for LightClientMessageUnion
Source§fn from(item: GetLastStateProof) -> LightClientMessageUnion
fn from(item: GetLastStateProof) -> LightClientMessageUnion
Converts to this type from the input type.
Source§impl From<GetTransactionsProof> for LightClientMessageUnion
impl From<GetTransactionsProof> for LightClientMessageUnion
Source§fn from(item: GetTransactionsProof) -> LightClientMessageUnion
fn from(item: GetTransactionsProof) -> LightClientMessageUnion
Converts to this type from the input type.
Source§impl From<SendBlocksProof> for LightClientMessageUnion
impl From<SendBlocksProof> for LightClientMessageUnion
Source§fn from(item: SendBlocksProof) -> LightClientMessageUnion
fn from(item: SendBlocksProof) -> LightClientMessageUnion
Converts to this type from the input type.
Source§impl From<SendBlocksProofV1> for LightClientMessageUnion
impl From<SendBlocksProofV1> for LightClientMessageUnion
Source§fn from(item: SendBlocksProofV1) -> LightClientMessageUnion
fn from(item: SendBlocksProofV1) -> LightClientMessageUnion
Converts to this type from the input type.
Source§impl From<SendLastState> for LightClientMessageUnion
impl From<SendLastState> for LightClientMessageUnion
Source§fn from(item: SendLastState) -> LightClientMessageUnion
fn from(item: SendLastState) -> LightClientMessageUnion
Converts to this type from the input type.
Source§impl From<SendLastStateProof> for LightClientMessageUnion
impl From<SendLastStateProof> for LightClientMessageUnion
Source§fn from(item: SendLastStateProof) -> LightClientMessageUnion
fn from(item: SendLastStateProof) -> LightClientMessageUnion
Converts to this type from the input type.
Source§impl From<SendTransactionsProof> for LightClientMessageUnion
impl From<SendTransactionsProof> for LightClientMessageUnion
Source§fn from(item: SendTransactionsProof) -> LightClientMessageUnion
fn from(item: SendTransactionsProof) -> LightClientMessageUnion
Converts to this type from the input type.
Source§impl From<SendTransactionsProofV1> for LightClientMessageUnion
impl From<SendTransactionsProofV1> for LightClientMessageUnion
Source§fn from(item: SendTransactionsProofV1) -> LightClientMessageUnion
fn from(item: SendTransactionsProofV1) -> LightClientMessageUnion
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for LightClientMessageUnion
impl RefUnwindSafe for LightClientMessageUnion
impl Send for LightClientMessageUnion
impl Sync for LightClientMessageUnion
impl Unpin for LightClientMessageUnion
impl UnwindSafe for LightClientMessageUnion
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
)