pub enum SignalDelivery {
Queued,
Overwrite,
}Expand description
How repeated deliveries of the same signal are handed out to handles.
Variants§
Queued
Every delivery is kept and handed out in journal order, one per take.
Overwrite
A delivery not yet taken is replaced by the next delivery with the same signal id, so earlier values can be lost.
Trait Implementations§
Source§impl Clone for SignalDelivery
impl Clone for SignalDelivery
impl Copy for SignalDelivery
Source§impl Debug for SignalDelivery
impl Debug for SignalDelivery
Source§impl Default for SignalDelivery
impl Default for SignalDelivery
impl Eq for SignalDelivery
Source§impl PartialEq for SignalDelivery
impl PartialEq for SignalDelivery
impl StructuralPartialEq for SignalDelivery
Auto Trait Implementations§
impl Freeze for SignalDelivery
impl RefUnwindSafe for SignalDelivery
impl Send for SignalDelivery
impl Sync for SignalDelivery
impl Unpin for SignalDelivery
impl UnsafeUnpin for SignalDelivery
impl UnwindSafe for SignalDelivery
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more