Enum scsys_core::Event
source · [−]pub enum Event<T: ToString + Default = String> {
Show 17 variants
Initializing,
Aggregating,
Attempting,
Collecting,
Constructing,
Connecting,
Counting,
Deleting,
Destroying,
Diverging,
Equating,
GenericEvent(T),
Hashing,
Parsing,
Passing,
Quitting,
Syncing,
}
Expand description
Encapsulates the availible events for the ecosystem
Variants
Initializing
Aggregating
Attempting
Collecting
Constructing
Connecting
Counting
Deleting
Destroying
Diverging
Equating
GenericEvent(T)
Hashing
Parsing
Passing
Quitting
Syncing
Trait Implementations
sourceimpl<'de, T: ToString + Default> Deserialize<'de> for Event<T>where
T: Deserialize<'de>,
impl<'de, T: ToString + Default> Deserialize<'de> for Event<T>where
T: Deserialize<'de>,
sourcefn 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
sourceimpl<T: PartialEq + ToString + Default> PartialEq<Event<T>> for Event<T>
impl<T: PartialEq + ToString + Default> PartialEq<Event<T>> for Event<T>
sourceimpl<T: ToString + Default> VariantNames for Event<T>
impl<T: ToString + Default> VariantNames for Event<T>
impl<T: Copy + ToString + Default> Copy for Event<T>
impl<T: Eq + ToString + Default> Eq for Event<T>
impl<T: ToString + Default> StructuralEq for Event<T>
impl<T: ToString + Default> StructuralPartialEq for Event<T>
Auto Trait Implementations
impl<T> RefUnwindSafe for Event<T>where
T: RefUnwindSafe,
impl<T> Send for Event<T>where
T: Send,
impl<T> Sync for Event<T>where
T: Sync,
impl<T> Unpin for Event<T>where
T: Unpin,
impl<T> UnwindSafe for Event<T>where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.