[][src]Struct pallet_babe::EquivocationHandler

pub struct EquivocationHandler<I, R> { /* fields omitted */ }

Generic equivocation handler. This type implements HandleEquivocation using existing subsystems that are part of frame (type bounds described below) and will dispatch to them directly, it's only purpose is to wire all subsystems together.

Trait Implementations

impl<I, R> Default for EquivocationHandler<I, R>[src]

impl<T, R> HandleEquivocation<T> for EquivocationHandler<T::KeyOwnerIdentification, R> where
    T: Trait + Trait + SendTransactionTypes<Call<T>>,
    R: ReportOffence<T::AccountId, T::KeyOwnerIdentification, BabeEquivocationOffence<T::KeyOwnerIdentification>>, 
[src]

Auto Trait Implementations

impl<I, R> RefUnwindSafe for EquivocationHandler<I, R> where
    I: RefUnwindSafe,
    R: RefUnwindSafe

impl<I, R> Send for EquivocationHandler<I, R> where
    I: Send,
    R: Send

impl<I, R> Sync for EquivocationHandler<I, R> where
    I: Sync,
    R: Sync

impl<I, R> Unpin for EquivocationHandler<I, R> where
    I: Unpin,
    R: Unpin

impl<I, R> UnwindSafe for EquivocationHandler<I, R> where
    I: UnwindSafe,
    R: UnwindSafe

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

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

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

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

impl<T, Outer> IsWrappedBy<Outer> for T where
    Outer: AsRef<T> + AsMut<T> + From<T>,
    T: From<Outer>, 

fn from_ref(outer: &Outer) -> &T

Get a reference to the inner from the outer.

fn from_mut(outer: &mut Outer) -> &mut T

Get a mutable reference to the inner from the outer.

impl<T> MaybeRefUnwindSafe for T where
    T: RefUnwindSafe

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> SaturatedConversion for T

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

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<S, T> UncheckedInto<T> for S where
    T: UncheckedFrom<S>, 

impl<T, S> UniqueSaturatedInto<T> for S where
    S: TryInto<T>,
    T: Bounded

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