pub enum NotifyPreset {
All,
Terminal,
Failures,
}Expand description
How much a channel hears. A preset only narrows the consumer’s default pacing; it can never add event kinds (ariel ADR 0007/0009).
Variants§
All
Everything the consumer’s pacing allows.
Terminal
Only when an agent ends.
Failures
Only when an agent ends failed, crashed or gone.
Trait Implementations§
Source§impl Clone for NotifyPreset
impl Clone for NotifyPreset
Source§fn clone(&self) -> NotifyPreset
fn clone(&self) -> NotifyPreset
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for NotifyPreset
Source§impl Debug for NotifyPreset
impl Debug for NotifyPreset
Source§impl Default for NotifyPreset
impl Default for NotifyPreset
Source§fn default() -> NotifyPreset
fn default() -> NotifyPreset
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NotifyPreset
impl<'de> Deserialize<'de> for NotifyPreset
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for NotifyPreset
Source§impl PartialEq for NotifyPreset
impl PartialEq for NotifyPreset
Source§impl Serialize for NotifyPreset
impl Serialize for NotifyPreset
impl StructuralPartialEq for NotifyPreset
Auto Trait Implementations§
impl Freeze for NotifyPreset
impl RefUnwindSafe for NotifyPreset
impl Send for NotifyPreset
impl Sync for NotifyPreset
impl Unpin for NotifyPreset
impl UnsafeUnpin for NotifyPreset
impl UnwindSafe for NotifyPreset
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