[][src]Struct ethcontract::contract::RawLog

pub struct RawLog {
    pub topics: Vec<H256>,
    pub data: Vec<u8>,
}

Raw log topics and data for a contract event.

Fields

topics: Vec<H256>

The raw 32-byte topics.

data: Vec<u8>

The raw non-indexed data attached to an event.

Methods

impl RawLog[src]

pub fn decode<D>(self, event: &AbiEvent) -> Result<D, ExecutionError> where
    D: Detokenize
[src]

Decode raw log data into a tokenizable for a matching event ABI entry.

Trait Implementations

impl Clone for RawLog[src]

impl Debug for RawLog[src]

impl Eq for RawLog[src]

impl From<Log> for RawLog[src]

impl ParseLog for RawLog[src]

impl PartialEq<RawLog> for RawLog[src]

impl StructuralEq for RawLog[src]

impl StructuralPartialEq for RawLog[src]

Auto Trait Implementations

impl RefUnwindSafe for RawLog

impl Send for RawLog

impl Sync for RawLog

impl Unpin for RawLog

impl UnwindSafe for RawLog

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,