pub struct LoggingPlugin;Expand description
A Default plugin that provides logging of events and server events if a naut server
Trait Implementations§
Source§impl SocketPlugin<'_, NautClient> for LoggingPlugin
impl SocketPlugin<'_, NautClient> for LoggingPlugin
fn register(&self, socket: &mut NautSocket<'_, NautClient>)
Source§impl SocketPlugin<'_, NautServer> for LoggingPlugin
impl SocketPlugin<'_, NautServer> for LoggingPlugin
fn register(&self, socket: &mut NautSocket<'_, NautServer>)
Auto Trait Implementations§
impl Freeze for LoggingPlugin
impl RefUnwindSafe for LoggingPlugin
impl Send for LoggingPlugin
impl Sync for LoggingPlugin
impl Unpin for LoggingPlugin
impl UnwindSafe for LoggingPlugin
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