pywatt_sdk 0.5.3

Standardized SDK for building PyWatt modules in Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
/// Events emitted by `SecretProvider` implementations that support watching.
#[derive(Clone, Debug, PartialEq, Eq)]
pub enum SecretEvent {
    /// Indicates that one or more secrets have been updated or rotated.
    /// Contains a list of the keys that were affected.
    Rotated(Vec<String>),
    /// Indicates that a new secret key has been added.
    Added(String),
    /// Indicates that an existing secret key has been removed.
    Removed(String),
}