Struct sc_finality_grandpa::GrandpaJustificationSender [−][src]
The sending half of the Grandpa justification channel(s).
Used to send notifications about justifications generated at the end of a Grandpa round.
Implementations
impl<Block: BlockT> GrandpaJustificationSender<Block>
[src][−]
pub fn notify(
&self,
justification: impl FnOnce() -> Result<GrandpaJustification<Block>, Error>
) -> Result<(), Error>
[src][−]
&self,
justification: impl FnOnce() -> Result<GrandpaJustification<Block>, Error>
) -> Result<(), Error>
Send out a notification to all subscribers that a new justification is available for a block.
Trait Implementations
Auto Trait Implementations
impl<Block> !RefUnwindSafe for GrandpaJustificationSender<Block>
impl<Block> Send for GrandpaJustificationSender<Block>
impl<Block> Sync for GrandpaJustificationSender<Block>
impl<Block> Unpin for GrandpaJustificationSender<Block>
impl<Block> !UnwindSafe for GrandpaJustificationSender<Block>
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,
impl<T> CheckedConversion for T
[src][+]
impl<T> DynClone for T where
T: Clone,
[src][+]
T: Clone,
impl<T> From<T> for T
[src][+]
impl<T> Instrument for T
[src][+]
impl<T> Instrument for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T, Outer> IsWrappedBy<Outer> for T where
T: From<Outer>,
Outer: AsRef<T> + AsMut<T> + From<T>,
[src][+]
T: From<Outer>,
Outer: AsRef<T> + AsMut<T> + From<T>,
impl<T> Pointable for T
[src][+]
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self
impl<T> SaturatedConversion for T
[src][+]
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<S, T> UncheckedInto<T> for S where
T: UncheckedFrom<S>,
[src][+]
T: UncheckedFrom<S>,
impl<T, S> UniqueSaturatedInto<T> for S where
T: Bounded,
S: TryInto<T>,
[src][+]
T: Bounded,
S: TryInto<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src][+]
V: MultiLane<T>,