pub struct FanoutReceiver<T: Clone + Send + 'static> { /* private fields */ }Expand description
Receiver returned by FanoutChannel::subscribe.
Trait Implementations§
Source§impl<T: Clone + Send + 'static> EventReceiver<T> for FanoutReceiver<T>
impl<T: Clone + Send + 'static> EventReceiver<T> for FanoutReceiver<T>
Source§async fn recv(&mut self) -> Result<T, EventChannelError>
async fn recv(&mut self) -> Result<T, EventChannelError>
Receives the next value.
Auto Trait Implementations§
impl<T> Freeze for FanoutReceiver<T>
impl<T> RefUnwindSafe for FanoutReceiver<T>
impl<T> Send for FanoutReceiver<T>
impl<T> Sync for FanoutReceiver<T>
impl<T> Unpin for FanoutReceiver<T>
impl<T> UnsafeUnpin for FanoutReceiver<T>
impl<T> UnwindSafe for FanoutReceiver<T>
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