Struct foca::NoCustomBroadcast
source · 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§
source§impl<T> BroadcastHandler<T> for NoCustomBroadcast
impl<T> BroadcastHandler<T> for NoCustomBroadcast
§type Error = BroadcastsDisabledError
type Error = BroadcastsDisabledError
The error type that
receive_item
may emit. Will be wrapped
by crate::Error::CustomBroadcast
.Auto Trait Implementations§
impl Freeze for NoCustomBroadcast
impl RefUnwindSafe for NoCustomBroadcast
impl Send for NoCustomBroadcast
impl Sync for NoCustomBroadcast
impl Unpin for NoCustomBroadcast
impl UnwindSafe for NoCustomBroadcast
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more