pub enum Message {
Evm(EvmMessage),
Solana(SolanaMessage),
LeEcdsa(LeEcdsaMessage),
LeUnsigned(LeUnsignedMessage),
Json(ParsedPayload),
}Variants§
Evm(EvmMessage)
Solana(SolanaMessage)
LeEcdsa(LeEcdsaMessage)
LeUnsigned(LeUnsignedMessage)
Json(ParsedPayload)
Implementations§
Trait Implementations§
Source§impl From<EvmMessage> for Message
impl From<EvmMessage> for Message
Source§fn from(value: EvmMessage) -> Self
fn from(value: EvmMessage) -> Self
Converts to this type from the input type.
Source§impl From<LeEcdsaMessage> for Message
impl From<LeEcdsaMessage> for Message
Source§fn from(value: LeEcdsaMessage) -> Self
fn from(value: LeEcdsaMessage) -> Self
Converts to this type from the input type.
Source§impl From<LeUnsignedMessage> for Message
impl From<LeUnsignedMessage> for Message
Source§fn from(value: LeUnsignedMessage) -> Self
fn from(value: LeUnsignedMessage) -> Self
Converts to this type from the input type.
Source§impl From<ParsedPayload> for Message
impl From<ParsedPayload> for Message
Source§fn from(value: ParsedPayload) -> Self
fn from(value: ParsedPayload) -> Self
Converts to this type from the input type.
Source§impl From<SolanaMessage> for Message
impl From<SolanaMessage> for Message
Source§fn from(value: SolanaMessage) -> Self
fn from(value: SolanaMessage) -> Self
Converts to this type from the input type.
impl Eq for Message
impl StructuralPartialEq for Message
Auto Trait Implementations§
impl Freeze for Message
impl RefUnwindSafe for Message
impl Send for Message
impl Sync for Message
impl Unpin for Message
impl UnwindSafe for Message
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more