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