pub struct LoggingProvider { /* private fields */ }Expand description
Standard output logging implementation of the wascc:logging specification
Implementations§
Trait Implementations§
Source§impl CapabilityProvider for LoggingProvider
impl CapabilityProvider for LoggingProvider
Source§fn configure_dispatch(
&self,
dispatcher: Box<dyn Dispatcher>,
) -> Result<(), Box<dyn Error + Sync + Send>>
fn configure_dispatch( &self, dispatcher: Box<dyn Dispatcher>, ) -> Result<(), Box<dyn Error + Sync + Send>>
This function will be called on the provider when the host runtime is ready and has configured a dispatcher. This function is only ever
called once for a capability provider, regardless of the number of actors being managed in the host
Auto Trait Implementations§
impl !Freeze for LoggingProvider
impl RefUnwindSafe for LoggingProvider
impl Send for LoggingProvider
impl Sync for LoggingProvider
impl Unpin for LoggingProvider
impl UnwindSafe for LoggingProvider
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