Enum ethers_core::abi::Topic
source · [−]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
Trait Implementations
sourceimpl Serialize for Topic<H256>
impl Serialize for Topic<H256>
sourcefn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
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> Send for Topic<T> where
T: Send,
impl<T> Sync for Topic<T> where
T: Sync,
impl<T> Unpin for Topic<T> where
T: Unpin,
impl<T> UnwindSafe for Topic<T> where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more