Enum tokio_postgres::config::TargetSessionAttrs [−][src]
#[non_exhaustive]
pub enum TargetSessionAttrs {
Any,
ReadWrite,
}Properties required of a session.
Variants (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
impl Clone for TargetSessionAttrs[src]
impl Clone for TargetSessionAttrs[src]fn clone(&self) -> TargetSessionAttrs[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for TargetSessionAttrs[src]
impl Copy for TargetSessionAttrs[src]Auto Trait Implementations
impl RefUnwindSafe for TargetSessionAttrs
impl RefUnwindSafe for TargetSessionAttrsimpl Send for TargetSessionAttrs
impl Send for TargetSessionAttrsimpl Sync for TargetSessionAttrs
impl Sync for TargetSessionAttrsimpl Unpin for TargetSessionAttrs
impl Unpin for TargetSessionAttrsimpl UnwindSafe for TargetSessionAttrs
impl UnwindSafe for TargetSessionAttrs