Struct fc_rpc_core::types::FilteredParams [−][src]
Helper for Filter matching. Supports conditional indexed parameters and wildcards.
Fields
filter: Option<Filter>
Implementations
impl FilteredParams
[src]
pub fn new(f: Option<Filter>) -> Self
[src]
pub fn replace(
&self,
log: &Log,
topic: VariadicValue<Option<H256>>
) -> Option<Vec<H256>>
[src]
&self,
log: &Log,
topic: VariadicValue<Option<H256>>
) -> Option<Vec<H256>>
Replace None values - aka wildcards - for the log input value in that position.
pub fn filter_block_range(&self, block_number: u64) -> bool
[src]
pub fn filter_block_hash(&self, block_hash: H256) -> bool
[src]
pub fn filter_address(&self, log: &Log) -> bool
[src]
pub fn filter_topics(&self, log: &Log) -> bool
[src]
Trait Implementations
impl Debug for FilteredParams
[src]
impl Default for FilteredParams
[src]
Auto Trait Implementations
impl RefUnwindSafe for FilteredParams
impl Send for FilteredParams
impl Sync for FilteredParams
impl Unpin for FilteredParams
impl UnwindSafe for FilteredParams
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,