#[non_exhaustive]pub enum SourceKind {
ShellHistory,
PeripheralDevice,
}Expand description
Which reader the activity was normalized from.
Extensible: v0.2 adds LnkFile, Shellbag, Srum, Registry as new readers
are published. Marked #[non_exhaustive] so adding a variant is non-breaking;
consumers must use a _ arm when matching.
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.
ShellHistory
shellhist-core — shell command history.
PeripheralDevice
peripheral-core — external-device connections.
Trait Implementations§
Source§impl Clone for SourceKind
impl Clone for SourceKind
Source§fn clone(&self) -> SourceKind
fn clone(&self) -> SourceKind
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 SourceKind
Source§impl Debug for SourceKind
impl Debug for SourceKind
impl Eq for SourceKind
Source§impl Hash for SourceKind
impl Hash for SourceKind
Source§impl PartialEq for SourceKind
impl PartialEq for SourceKind
Source§fn eq(&self, other: &SourceKind) -> bool
fn eq(&self, other: &SourceKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SourceKind
Auto Trait Implementations§
impl Freeze for SourceKind
impl RefUnwindSafe for SourceKind
impl Send for SourceKind
impl Sync for SourceKind
impl Unpin for SourceKind
impl UnsafeUnpin for SourceKind
impl UnwindSafe for SourceKind
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