#[non_exhaustive]pub struct Collected<V> {
pub parts: Vec<(String, V)>,
pub failures: Vec<Failure>,
pub deferred: Vec<String>,
pub refused: Option<Refusal>,
}Expand description
The result of a collect emit.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.parts: Vec<(String, V)>Each successful listener’s value, in listener order, with its id.
failures: Vec<Failure>Every failure, in listener order.
deferred: Vec<String>The local listeners bound to another thread, in order: queued for
that thread’s run_pending, not run
by this emit. Empty when the request was refused.
refused: Option<Refusal>The listener that stopped the request, if one did.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<V> Forget for Collected<V>
impl<V> Freeze for Collected<V>where
*const u8 is !null: Freeze,
PhantomData<(String, V)>: Freeze,
PhantomData<Failure>: Freeze,
PhantomData<String>: Freeze,
&'static str: Freeze,
PhantomData<u8>: Freeze,
impl<V> Move for Collected<V>
impl<V> RefUnwindSafe for Collected<V>where
V: RefUnwindSafe,
impl<V> Send for Collected<V>
impl<V> Sync for Collected<V>
impl<V> Unpin for Collected<V>
impl<V> UnsafeUnpin for Collected<V>where
*const u8 is !null: UnsafeUnpin,
PhantomData<(String, V)>: UnsafeUnpin,
PhantomData<Failure>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
&'static str: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
impl<V> UnwindSafe for Collected<V>
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