pub trait ConnectionAccess: Arbitrary + Clone + Debug + Eq + PartialEq + Serialize + 'static {
    type Kafka: Arbitrary + Clone + Debug + Eq + PartialEq + Hash + Serialize + for<'a> Deserialize<'a>;
    type Pg: Arbitrary + Clone + Debug + Eq + PartialEq + Hash + Serialize + for<'a> Deserialize<'a>;
    type Ssh: Arbitrary + Clone + Debug + Eq + PartialEq + Hash + Serialize + for<'a> Deserialize<'a>;
}
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§

Implementors§