Struct hexodsp::log::LogReceiver
source · [−]Fields
consumers: Vec<(&'static str, Consumer<u8>)>
Implementations
sourceimpl LogReceiver
impl LogReceiver
pub fn new() -> Self
pub fn retrieve_messages<F: FnMut(&str, &str)>(&mut self, f: F)
pub fn spawn_logger(&mut self, name: &'static str) -> Log
pub fn spawn_global_logger(&mut self, name: &'static str)
Auto Trait Implementations
impl !RefUnwindSafe for LogReceiver
impl Send for LogReceiver
impl Sync for LogReceiver
impl Unpin for LogReceiver
impl !UnwindSafe for LogReceiver
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more