Enum tokio_postgres::config::TargetSessionAttrs [−][src]
#[non_exhaustive]
pub enum TargetSessionAttrs {
Any,
ReadWrite,
}
Expand description
Properties required of a session.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
No special properties are required.
The session must allow writes.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TargetSessionAttrs
impl Send for TargetSessionAttrs
impl Sync for TargetSessionAttrs
impl Unpin for TargetSessionAttrs
impl UnwindSafe for TargetSessionAttrs
Blanket Implementations
Mutably borrows from an owned value. Read more