Enum tokio_postgres::config::ChannelBinding [−][src]
#[non_exhaustive] pub enum ChannelBinding { Disable, Prefer, Require, }
Channel binding configuration.
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.
Do not use channel binding.
Attempt to use channel binding but allow sessions without.
Require the use of channel binding.
Trait Implementations
impl Clone for ChannelBinding
[src]
impl Clone for ChannelBinding
[src]fn clone(&self) -> ChannelBinding
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ChannelBinding
[src]
impl Copy for ChannelBinding
[src]impl PartialEq<ChannelBinding> for ChannelBinding
[src]
impl PartialEq<ChannelBinding> for ChannelBinding
[src]impl StructuralPartialEq for ChannelBinding
[src]
impl StructuralPartialEq for ChannelBinding
[src]Auto Trait Implementations
impl RefUnwindSafe for ChannelBinding
impl RefUnwindSafe for ChannelBinding
impl Send for ChannelBinding
impl Send for ChannelBinding
impl Sync for ChannelBinding
impl Sync for ChannelBinding
impl Unpin for ChannelBinding
impl Unpin for ChannelBinding
impl UnwindSafe for ChannelBinding
impl UnwindSafe for ChannelBinding