pub type Message = ScannerMessage<RangeInclusive<BlockNumber>, ScannerError>;Aliased Type§
pub enum Message {
Data(RangeInclusive<u64>),
Error(ScannerError),
Status(ScannerStatus),
}Variants§
Trait Implementations§
Source§impl From<RangeInclusive<u64>> for Message
impl From<RangeInclusive<u64>> for Message
Source§fn from(logs: RangeInclusive<BlockNumber>) -> Self
fn from(logs: RangeInclusive<BlockNumber>) -> Self
Converts to this type from the input type.
Source§impl From<RpcError<TransportErrorKind>> for Message
impl From<RpcError<TransportErrorKind>> for Message
Source§fn from(error: RpcError<TransportErrorKind>) -> Self
fn from(error: 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.