Skip to main content

Crate aviso

Crate aviso 

Source
Expand description

Core client library for aviso-server, ECMWF’s notification service for data-driven workflows.

The public surface grows as features land; the design rationale for each choice lives in plans/decisions.md and is referenced by stable ADR id.

Re-exports§

pub use notification::Notification;
pub use notification::NotificationRequest;
pub use notification::NotifyResponse;
pub use notification::parse_cloudevent_id;
pub use schema::SchemaCatalog;
pub use schema::SchemaResponse;
pub use schema::StreamSchema;

Modules§

auth
Authentication providers per D8.
notification
Notification types and CloudEvent id parsing.
schema
Schema discovery: GET /api/v1/schema and GET /api/v1/schema/{event_type}.
state
Persistence for watch resume state.
watch
Watch state machine.

Structs§

AvisoClient
Top-level handle to an aviso-server.
AvisoClientBuilder
Builder for AvisoClient.

Enums§

ClientError
Errors returned by aviso client operations.

Constants§

DEFAULT_NOTIFY_CONCURRENCY
Default number of notifications AvisoClient::notify_many keeps in flight at once when the caller passes 0 for the concurrency argument.
VERSION
Version string of the aviso crate, sourced from Cargo metadata.

Functions§

set_echo_color_enabled
Sets the host-application-level policy for ANSI color codes in the built-in echo trigger’s human-readable TTY output. Default: disabled (no color).

Type Aliases§

Result
Result alias using ClientError as the error type.