pub struct LoggingServer { /* private fields */ }Implementations§
Source§impl LoggingServer
impl LoggingServer
pub fn new( config: ServerConfig, tx: Sender<LoggingTypeEnum>, stop: Arc<AtomicBool>, ) -> Result<Self, LoggingError>
pub fn shutdown(&mut self) -> Result<(), LoggingError>
pub fn enable(&self)
pub fn disable(&self)
pub fn set_enabled(&self, enabled: bool)
pub fn set_level(&mut self, level: u8)
pub fn set_domain_filter( &self, domain_filter: Option<String>, ) -> Result<(), Error>
pub fn set_message_filter( &self, message_filter: Option<String>, ) -> Result<(), Error>
pub fn set_encryption( &mut self, method: EncryptionMethod, ) -> Result<(), LoggingError>
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for LoggingServer
impl !UnwindSafe for LoggingServer
impl Forget for LoggingServer
impl Freeze for LoggingServer
impl Move for LoggingServer
impl Send for LoggingServer
impl Sync for LoggingServer
impl Unpin for LoggingServer
impl UnsafeUnpin for LoggingServer
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