pub enum NotificationCapability {
ProcessLocalHint,
BestEffortHint,
BestEffortHintWithPolling,
}Expand description
Delivery behavior of backend wake-up notifications.
Variants§
ProcessLocalHint
Process-local best-effort hint; durable state must still be polled or leased.
BestEffortHint
Best-effort backend notification; durable state remains the source of truth.
BestEffortHintWithPolling
Best-effort notification combined with a polling fallback.
Trait Implementations§
Source§impl Clone for NotificationCapability
impl Clone for NotificationCapability
Source§fn clone(&self) -> NotificationCapability
fn clone(&self) -> NotificationCapability
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 NotificationCapability
Source§impl Debug for NotificationCapability
impl Debug for NotificationCapability
Source§impl<'de> Deserialize<'de> for NotificationCapability
impl<'de> Deserialize<'de> for NotificationCapability
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 NotificationCapability
Source§impl Hash for NotificationCapability
impl Hash for NotificationCapability
Source§impl PartialEq for NotificationCapability
impl PartialEq for NotificationCapability
Source§impl Serialize for NotificationCapability
impl Serialize for NotificationCapability
impl StructuralPartialEq for NotificationCapability
Auto Trait Implementations§
impl Freeze for NotificationCapability
impl RefUnwindSafe for NotificationCapability
impl Send for NotificationCapability
impl Sync for NotificationCapability
impl Unpin for NotificationCapability
impl UnsafeUnpin for NotificationCapability
impl UnwindSafe for NotificationCapability
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