Enum ethers::abi::Topic [−]
Expand description
Acceptable topic possibilities.
Variants
Any
Match any.
OneOf(Vec<T, Global>)
Match any of the hashes.
This(T)
Match only this hash.
Implementations
impl<T> Topic<T>
impl<T> Topic<T>
Trait Implementations
pub fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
pub fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl<T> StructuralPartialEq for Topic<T>
Auto Trait Implementations
impl<T> RefUnwindSafe for Topic<T> where
T: RefUnwindSafe,
impl<T> UnwindSafe for Topic<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more