Enum ethers_core::abi::Topic
source · pub enum Topic<T> {
Any,
OneOf(Vec<T, Global>),
This(T),
}
Expand description
Acceptable topic possibilities.
Variants§
Implementations§
Trait Implementations§
source§impl<T> PartialEq<Topic<T>> for Topic<T>where
T: PartialEq<T>,
impl<T> PartialEq<Topic<T>> for Topic<T>where T: PartialEq<T>,
source§impl Serialize for Topic<H256>
impl Serialize for Topic<H256>
source§fn 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> Eq for Topic<T>where T: Eq,
impl<T> StructuralEq for Topic<T>
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§
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
§impl<T> FromFd for Twhere
T: From<OwnedFd>,
impl<T> FromFd for Twhere T: From<OwnedFd>,
§impl<T> FromFilelike for Twhere
T: From<OwnedFd>,
impl<T> FromFilelike for Twhere T: From<OwnedFd>,
§fn from_filelike(owned: OwnedFd) -> T
fn from_filelike(owned: OwnedFd) -> T
Constructs a new instance of
Self
from the given filelike object. Read more§fn from_into_filelike<Owned>(owned: Owned) -> Twhere
Owned: IntoFilelike,
fn from_into_filelike<Owned>(owned: Owned) -> Twhere Owned: IntoFilelike,
Constructs a new instance of
Self
from the given filelike object
converted from into_owned
. Read more§impl<T> FromSocketlike for Twhere
T: From<OwnedFd>,
impl<T> FromSocketlike for Twhere T: From<OwnedFd>,
§fn from_socketlike(owned: OwnedFd) -> T
fn from_socketlike(owned: OwnedFd) -> T
Constructs a new instance of
Self
from the given socketlike object.§fn from_into_socketlike<Owned>(owned: Owned) -> Twhere
Owned: IntoSocketlike,
fn from_into_socketlike<Owned>(owned: Owned) -> Twhere Owned: IntoSocketlike,
Constructs a new instance of
Self
from the given socketlike object
converted from into_owned
.