Skip to main content

Module AirClient

Module AirClient 

Source
Expand description

§AirClient

gRPC client wrapper for the Air daemon service. Mountain reaches Air through this façade for update management, authentication, file indexing, and system monitoring. Companion DTOs live in sibling files declared below; the streaming helper lives in DownloadStream::Struct.

Modules§

AirMetrics
Metrics from the Air daemon.
AirStatus
Status of the Air daemon.
DownloadStream
Wrapper for an asynchronous Air download stream. Adapts the tonic streaming API into a next().await iterator that yields DownloadStreamChunk::Struct items. Cfg-gated on AirIntegration because the inner type lives in AirLibrary::Vine::Generated::air.
DownloadStreamChunk
Single chunk of data from a streaming download. Carries the binary payload plus progress + completion metadata.
ExtendedFileInfo
Extended file information.
FileInfo
Information about a downloaded file.
FileResult
Result of a file search.
IndexInfo
Information about file indexing.
ResourceUsage
Resource usage information from the Air daemon.
UpdateInfo
Information about an available update.

Structs§

AirClient
Air gRPC client wrapper that handles connection to the Air daemon service. This provides a clean interface for Mountain to interact with Air’s capabilities including update management, authentication, file indexing, and system monitoring.

Constants§

DEFAULT_AIR_SERVER_ADDRESS
Default gRPC server address for the Air daemon.

Traits§

IntoRequestExt 🔒
Helper trait for converting types to tonic::Request