pub type Message = ScannerMessage<Vec<Log>, ScannerError>;Aliased Type§
pub enum Message {
Data(Vec<Log>),
Error(ScannerError),
Status(ScannerStatus),
}Variants§
Trait Implementations§
Source§impl From<Error> for Message
impl From<Error> for Message
Source§fn from(error: RobustProviderError) -> Message
fn from(error: RobustProviderError) -> Message
Converts to this type from the input type.
Source§impl From<RpcError<TransportErrorKind>> for Message
impl From<RpcError<TransportErrorKind>> for Message
Source§fn from(e: RpcError<TransportErrorKind>) -> Self
fn from(e: RpcError<TransportErrorKind>) -> Self
Converts to this type from the input type.
Source§impl From<ScannerError> for Message
impl From<ScannerError> for Message
Source§fn from(error: ScannerError) -> Self
fn from(error: ScannerError) -> Self
Converts to this type from the input type.