pub enum LightClientMessageUnionReader<'r> {
GetLastState(GetLastStateReader<'r>),
SendLastState(SendLastStateReader<'r>),
GetLastStateProof(GetLastStateProofReader<'r>),
SendLastStateProof(SendLastStateProofReader<'r>),
GetBlocksProof(GetBlocksProofReader<'r>),
SendBlocksProof(SendBlocksProofReader<'r>),
GetTransactionsProof(GetTransactionsProofReader<'r>),
SendTransactionsProof(SendTransactionsProofReader<'r>),
}
Variants§
GetLastState(GetLastStateReader<'r>)
SendLastState(SendLastStateReader<'r>)
GetLastStateProof(GetLastStateProofReader<'r>)
SendLastStateProof(SendLastStateProofReader<'r>)
GetBlocksProof(GetBlocksProofReader<'r>)
SendBlocksProof(SendBlocksProofReader<'r>)
GetTransactionsProof(GetTransactionsProofReader<'r>)
SendTransactionsProof(SendTransactionsProofReader<'r>)
Implementations§
Trait Implementations§
Source§impl<'r> Clone for LightClientMessageUnionReader<'r>
impl<'r> Clone for LightClientMessageUnionReader<'r>
Source§fn clone(&self) -> LightClientMessageUnionReader<'r>
fn clone(&self) -> LightClientMessageUnionReader<'r>
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<'r> Debug for LightClientMessageUnionReader<'r>
impl<'r> Debug for LightClientMessageUnionReader<'r>
Source§impl<'r> Display for LightClientMessageUnionReader<'r>
impl<'r> Display for LightClientMessageUnionReader<'r>
Source§impl<'r> From<GetBlocksProofReader<'r>> for LightClientMessageUnionReader<'r>
impl<'r> From<GetBlocksProofReader<'r>> for LightClientMessageUnionReader<'r>
Source§fn from(item: GetBlocksProofReader<'r>) -> LightClientMessageUnionReader<'r>
fn from(item: GetBlocksProofReader<'r>) -> LightClientMessageUnionReader<'r>
Converts to this type from the input type.
Source§impl<'r> From<GetLastStateProofReader<'r>> for LightClientMessageUnionReader<'r>
impl<'r> From<GetLastStateProofReader<'r>> for LightClientMessageUnionReader<'r>
Source§fn from(item: GetLastStateProofReader<'r>) -> LightClientMessageUnionReader<'r>
fn from(item: GetLastStateProofReader<'r>) -> LightClientMessageUnionReader<'r>
Converts to this type from the input type.
Source§impl<'r> From<GetLastStateReader<'r>> for LightClientMessageUnionReader<'r>
impl<'r> From<GetLastStateReader<'r>> for LightClientMessageUnionReader<'r>
Source§fn from(item: GetLastStateReader<'r>) -> LightClientMessageUnionReader<'r>
fn from(item: GetLastStateReader<'r>) -> LightClientMessageUnionReader<'r>
Converts to this type from the input type.
Source§impl<'r> From<GetTransactionsProofReader<'r>> for LightClientMessageUnionReader<'r>
impl<'r> From<GetTransactionsProofReader<'r>> for LightClientMessageUnionReader<'r>
Source§fn from(
item: GetTransactionsProofReader<'r>,
) -> LightClientMessageUnionReader<'r>
fn from( item: GetTransactionsProofReader<'r>, ) -> LightClientMessageUnionReader<'r>
Converts to this type from the input type.
Source§impl<'r> From<SendBlocksProofReader<'r>> for LightClientMessageUnionReader<'r>
impl<'r> From<SendBlocksProofReader<'r>> for LightClientMessageUnionReader<'r>
Source§fn from(item: SendBlocksProofReader<'r>) -> LightClientMessageUnionReader<'r>
fn from(item: SendBlocksProofReader<'r>) -> LightClientMessageUnionReader<'r>
Converts to this type from the input type.
Source§impl<'r> From<SendLastStateProofReader<'r>> for LightClientMessageUnionReader<'r>
impl<'r> From<SendLastStateProofReader<'r>> for LightClientMessageUnionReader<'r>
Source§fn from(item: SendLastStateProofReader<'r>) -> LightClientMessageUnionReader<'r>
fn from(item: SendLastStateProofReader<'r>) -> LightClientMessageUnionReader<'r>
Converts to this type from the input type.
Source§impl<'r> From<SendLastStateReader<'r>> for LightClientMessageUnionReader<'r>
impl<'r> From<SendLastStateReader<'r>> for LightClientMessageUnionReader<'r>
Source§fn from(item: SendLastStateReader<'r>) -> LightClientMessageUnionReader<'r>
fn from(item: SendLastStateReader<'r>) -> LightClientMessageUnionReader<'r>
Converts to this type from the input type.
Source§impl<'r> From<SendTransactionsProofReader<'r>> for LightClientMessageUnionReader<'r>
impl<'r> From<SendTransactionsProofReader<'r>> for LightClientMessageUnionReader<'r>
Source§fn from(
item: SendTransactionsProofReader<'r>,
) -> LightClientMessageUnionReader<'r>
fn from( item: SendTransactionsProofReader<'r>, ) -> LightClientMessageUnionReader<'r>
Converts to this type from the input type.
impl<'r> Copy for LightClientMessageUnionReader<'r>
Auto Trait Implementations§
impl<'r> Freeze for LightClientMessageUnionReader<'r>
impl<'r> RefUnwindSafe for LightClientMessageUnionReader<'r>
impl<'r> Send for LightClientMessageUnionReader<'r>
impl<'r> Sync for LightClientMessageUnionReader<'r>
impl<'r> Unpin for LightClientMessageUnionReader<'r>
impl<'r> UnwindSafe for LightClientMessageUnionReader<'r>
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
)