pub struct LogServer { /* private fields */ }
Implementations§
Source§impl LogServer
impl LogServer
pub fn new(logs_repo: Arc<LogsRepository>, scope: Scope) -> Self
Sourcepub fn spawn(&self, stream: LogRequestStream)
pub fn spawn(&self, stream: LogRequestStream)
Spawn a task to handle requests from components reading the shared log.
Auto Trait Implementations§
impl Freeze for LogServer
impl !RefUnwindSafe for LogServer
impl Send for LogServer
impl Sync for LogServer
impl Unpin for LogServer
impl !UnwindSafe for LogServer
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