pub struct LogData {
pub log_size: u32,
pub console: Option<LineWriter<Stdout>>,
pub fileout: Option<LineWriter<File>>,
pub sender: Option<Sender<AsyncLogType>>,
pub plugin: Option<Box<dyn Write + Send + Sync + 'static>>,
}Expand description
日志器数据
Fields§
§log_size: u32§console: Option<LineWriter<Stdout>>§fileout: Option<LineWriter<File>>§sender: Option<Sender<AsyncLogType>>§plugin: Option<Box<dyn Write + Send + Sync + 'static>>Auto Trait Implementations§
impl !RefUnwindSafe for LogData
impl !UnwindSafe for LogData
impl Freeze for LogData
impl Send for LogData
impl Sync for LogData
impl Unpin for LogData
impl UnsafeUnpin for LogData
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