pub struct LinuxCommandHostInspector<E> { /* private fields */ }Expand description
Host inspector backed by a soma-fleet command executor.
Implementations§
Trait Implementations§
Source§impl<E> HostInspector for LinuxCommandHostInspector<E>where
E: CommandExecutor,
impl<E> HostInspector for LinuxCommandHostInspector<E>where
E: CommandExecutor,
Source§fn inspect<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
host: &'life1 HostRecord,
request: HostInspectRequest,
cancellation: &'life2 CancellationToken,
) -> Pin<Box<dyn Future<Output = InfraResult<HostInspection>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn inspect<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
host: &'life1 HostRecord,
request: HostInspectRequest,
cancellation: &'life2 CancellationToken,
) -> Pin<Box<dyn Future<Output = InfraResult<HostInspection>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Collects one typed snapshot from the exact host revision.
Auto Trait Implementations§
impl<E> Freeze for LinuxCommandHostInspector<E>
impl<E> RefUnwindSafe for LinuxCommandHostInspector<E>where
E: RefUnwindSafe,
impl<E> Send for LinuxCommandHostInspector<E>
impl<E> Sync for LinuxCommandHostInspector<E>
impl<E> Unpin for LinuxCommandHostInspector<E>
impl<E> UnsafeUnpin for LinuxCommandHostInspector<E>
impl<E> UnwindSafe for LinuxCommandHostInspector<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