[][src]Struct libp2p_gossipsub::subscription_filter::CombinedSubscriptionFilters

pub struct CombinedSubscriptionFilters<T: TopicSubscriptionFilter, S: TopicSubscriptionFilter> {
    pub filter1: T,
    pub filter2: S,
}

Combines two subscription filters

Fields

filter1: Tfilter2: S

Trait Implementations

impl<T, S> TopicSubscriptionFilter for CombinedSubscriptionFilters<T, S> where
    T: TopicSubscriptionFilter,
    S: TopicSubscriptionFilter
[src]

Auto Trait Implementations

impl<T, S> RefUnwindSafe for CombinedSubscriptionFilters<T, S> where
    S: RefUnwindSafe,
    T: RefUnwindSafe
[src]

impl<T, S> Send for CombinedSubscriptionFilters<T, S> where
    S: Send,
    T: Send
[src]

impl<T, S> Sync for CombinedSubscriptionFilters<T, S> where
    S: Sync,
    T: Sync
[src]

impl<T, S> Unpin for CombinedSubscriptionFilters<T, S> where
    S: Unpin,
    T: Unpin
[src]

impl<T, S> UnwindSafe for CombinedSubscriptionFilters<T, S> where
    S: UnwindSafe,
    T: UnwindSafe
[src]

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<T> From<T> for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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<V, T> VZip<V> for T where
    V: MultiLane<T>,