#[non_exhaustive]pub enum DerivationKind {
Created,
Shared,
Other(String),
}Expand description
How an upstream subscription came to serve a downstream one.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Created
A new upstream subscription was created to satisfy downstream subs.
An existing upstream subscription now also serves an additional downstream sub — subscription fan-in.
Other(String)
A kind this version of the crate does not know, kept verbatim.
Implementations§
Trait Implementations§
Source§impl Clone for DerivationKind
impl Clone for DerivationKind
Source§fn clone(&self) -> DerivationKind
fn clone(&self) -> DerivationKind
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 moreSource§impl Debug for DerivationKind
impl Debug for DerivationKind
impl Eq for DerivationKind
Source§impl PartialEq for DerivationKind
impl PartialEq for DerivationKind
impl StructuralPartialEq for DerivationKind
Auto Trait Implementations§
impl Freeze for DerivationKind
impl RefUnwindSafe for DerivationKind
impl Send for DerivationKind
impl Sync for DerivationKind
impl Unpin for DerivationKind
impl UnsafeUnpin for DerivationKind
impl UnwindSafe for DerivationKind
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