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