Struct log_device::LogDeviceManager
source · pub struct LogDeviceManager { /* private fields */ }
Implementations§
source§impl LogDeviceManager
impl LogDeviceManager
pub fn new(path_dir: PathBuf) -> Self
pub fn get_device_num(&self) -> usize
pub fn get_device(&self, device_id: usize) -> Option<Arc<LogDevice>>
pub fn create_new_device(&self) -> usize
Auto Trait Implementations§
impl !RefUnwindSafe for LogDeviceManager
impl Send for LogDeviceManager
impl Sync for LogDeviceManager
impl Unpin for LogDeviceManager
impl !UnwindSafe for LogDeviceManager
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