pub enum RegistryEvent {
Register {
type_name: &'static str,
},
Get {
type_name: &'static str,
found: bool,
},
Contains {
type_name: &'static str,
found: bool,
},
Clear {},
}Expand description
Events emitted by the dependency-injection registry.
Variants§
Register
A value was registered.
Get
A value was requested with di_get.
Contains
A di_contains check was performed.
Clear
Trait Implementations§
Source§impl Debug for RegistryEvent
impl Debug for RegistryEvent
Auto Trait Implementations§
impl Freeze for RegistryEvent
impl RefUnwindSafe for RegistryEvent
impl Send for RegistryEvent
impl Sync for RegistryEvent
impl Unpin for RegistryEvent
impl UnwindSafe for RegistryEvent
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