pub struct NoCustomBroadcast;
Expand description

A Broadcast Handler that rejects any form of custom broadcast.

Used by Foca when constructed via Foca::new().

Trait Implementations

Concrete type that will be disseminated to all cluster members. Read more

The error type that receive_item may emit. Will be wrapped by crate::Error. Read more

Decodes a Self::Broadcast from a buffer and either discards it or tells Foca to persist and disseminate it. Read more

Decides whether Foca should add broadcast data to the message it’s about to send to active member T. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more