Struct sov_rollup_interface::stf::EventKey
source · pub struct EventKey(/* private fields */);
Expand description
The key of an event. This is a wrapper around a Vec<u8>
.
Implementations§
Trait Implementations§
source§impl BorshDeserialize for EventKey
impl BorshDeserialize for EventKey
fn deserialize_reader<R: Read>(reader: &mut R) -> Result<Self, Error>
source§fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
Deserializes this instance from a given slice of bytes.
Updates the buffer to point at the remaining bytes.
source§fn try_from_slice(v: &[u8]) -> Result<Self, Error>
fn try_from_slice(v: &[u8]) -> Result<Self, Error>
Deserialize this instance from a slice of bytes.
fn try_from_reader<R>(reader: &mut R) -> Result<Self, Error>where R: Read,
source§impl BorshSerialize for EventKey
impl BorshSerialize for EventKey
source§impl<'de> Deserialize<'de> for EventKey
impl<'de> Deserialize<'de> for EventKey
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Ord for EventKey
impl Ord for EventKey
source§impl PartialEq<EventKey> for EventKey
impl PartialEq<EventKey> for EventKey
source§impl PartialOrd<EventKey> for EventKey
impl PartialOrd<EventKey> for EventKey
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for EventKey
impl StructuralEq for EventKey
impl StructuralPartialEq for EventKey
Auto Trait Implementations§
impl RefUnwindSafe for EventKey
impl Send for EventKey
impl Sync for EventKey
impl Unpin for EventKey
impl UnwindSafe for EventKey
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