mz_storage_types::connections::inline

Trait ConnectionAccess

Source
pub trait ConnectionAccess:
    Arbitrary
    + Clone
    + Debug
    + Eq
    + PartialEq
    + Serialize
    + 'static {
    type Kafka: Arbitrary + Clone + Debug + Eq + PartialEq + Hash + Serialize + for<'a> Deserialize<'a> + AlterCompatible;
    type Pg: Arbitrary + Clone + Debug + Eq + PartialEq + Hash + Serialize + for<'a> Deserialize<'a> + AlterCompatible;
    type Aws: Arbitrary + Clone + Debug + Eq + PartialEq + Hash + Serialize + for<'a> Deserialize<'a> + AlterCompatible;
    type Ssh: Arbitrary + Clone + Debug + Eq + PartialEq + Hash + Serialize + for<'a> Deserialize<'a> + AlterCompatible;
    type Csr: Arbitrary + Clone + Debug + Eq + PartialEq + Hash + Serialize + for<'a> Deserialize<'a> + AlterCompatible;
    type MySql: Arbitrary + Clone + Debug + Eq + PartialEq + Hash + Serialize + for<'a> Deserialize<'a> + AlterCompatible;
}
Expand description

Expresses how a struct/enum can access details about any connections it uses. Meant to be used as a type constraint on structs that use connections.

Required Associated Types§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§