pub struct EffectLogKey;Expand description
Tag for EffectLogger in an effectful::Context stack.
Nominal service key (service_key!). Implements Equal and EffectHash through the standard derives—Brand-style structural equality for this ZST tag.
Trait Implementations§
Source§impl Clone for EffectLogKey
impl Clone for EffectLogKey
Source§fn clone(&self) -> EffectLogKey
fn clone(&self) -> EffectLogKey
Returns a duplicate of the value. Read more
1.0.0 · 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 EffectLogKey
impl Debug for EffectLogKey
Source§impl Default for EffectLogKey
impl Default for EffectLogKey
Source§fn default() -> EffectLogKey
fn default() -> EffectLogKey
Returns the “default value” for a type. Read more
Source§impl Hash for EffectLogKey
impl Hash for EffectLogKey
Source§impl PartialEq for EffectLogKey
impl PartialEq for EffectLogKey
impl Copy for EffectLogKey
impl Eq for EffectLogKey
impl StructuralPartialEq for EffectLogKey
Auto Trait Implementations§
impl Freeze for EffectLogKey
impl RefUnwindSafe for EffectLogKey
impl Send for EffectLogKey
impl Sync for EffectLogKey
impl Unpin for EffectLogKey
impl UnsafeUnpin for EffectLogKey
impl UnwindSafe for EffectLogKey
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> EffectHash for T
impl<T> EffectHash for T
Source§fn effect_hash(&self) -> u64
fn effect_hash(&self) -> u64
Returns a
u64 hash of self using the default hasher (Effect.ts-style single-value hash).Source§impl<T> Equal for T
impl<T> Equal for T
Source§fn effect_equals(&self, other: &Self) -> bool
fn effect_equals(&self, other: &Self) -> bool
Returns whether
self and other are structurally equal (defaults to PartialEq::eq).