pub struct CommandLogReader<E> { /* private fields */ }Expand description
Operating-system log reader backed by a fleet command executor.
Implementations§
Trait Implementations§
Source§impl<E> LogReader for CommandLogReader<E>where
E: CommandExecutor,
impl<E> LogReader for CommandLogReader<E>where
E: CommandExecutor,
Source§fn read_logs<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
host: &'life1 HostRecord,
request: &'life2 LogReadRequest,
cancellation: &'life3 CancellationToken,
) -> Pin<Box<dyn Future<Output = InfraResult<LogRead>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn read_logs<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
host: &'life1 HostRecord,
request: &'life2 LogReadRequest,
cancellation: &'life3 CancellationToken,
) -> Pin<Box<dyn Future<Output = InfraResult<LogRead>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Reads one bounded log source.
Auto Trait Implementations§
impl<E> Freeze for CommandLogReader<E>
impl<E> RefUnwindSafe for CommandLogReader<E>where
E: RefUnwindSafe,
impl<E> Send for CommandLogReader<E>
impl<E> Sync for CommandLogReader<E>
impl<E> Unpin for CommandLogReader<E>
impl<E> UnsafeUnpin for CommandLogReader<E>
impl<E> UnwindSafe for CommandLogReader<E>where
E: RefUnwindSafe,
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