pub struct EffectFacts {
pub tagged_errors: Vec<EffectTaggedError>,
pub caught_tags: Vec<EffectCaughtTag>,
pub literal_tags: Vec<String>,
pub layers: Vec<EffectLayer>,
pub layer_root_keys: Vec<String>,
}Expand description
Persisted syntactic Effect evidence for one module.
The layer keys, their dependencies and layer_root_keys use one
format: a plain binding name (FooLive) or a class static member
(FooService.layer). Import aliases resolve to the imported name, and a
namespace member (Ns.FooLive) resolves to the member name.
Fields§
§tagged_errors: Vec<EffectTaggedError>Module-scope classes that extend a tagged error constructor.
catchTag("X") arguments and catchTags({ X }) keys.
Tags written as an object literal _tag: "X" property.
layers: Vec<EffectLayer>Layer definitions: module-scope consts and class static properties.
layer_root_keys: Vec<String>Keys that a value reference outside every layer definition reads.
Trait Implementations§
Source§impl Clone for EffectFacts
impl Clone for EffectFacts
Source§impl Debug for EffectFacts
impl Debug for EffectFacts
impl<'__de> Decode<'__de> for EffectFactswhere
'__de:,
Source§impl Default for EffectFacts
impl Default for EffectFacts
impl Encode for EffectFacts
impl Eq for EffectFacts
Source§impl PartialEq for EffectFacts
impl PartialEq for EffectFacts
impl StructuralPartialEq for EffectFacts
Auto Trait Implementations§
impl Freeze for EffectFacts
impl RefUnwindSafe for EffectFacts
impl Send for EffectFacts
impl Sync for EffectFacts
impl Unpin for EffectFacts
impl UnsafeUnpin for EffectFacts
impl UnwindSafe for EffectFacts
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,
impl<T> DecodeOwned for Twhere
T: for<'de> Decode<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.