Enum sasl::ChannelBinding
[−]
[src]
pub enum ChannelBinding { None, Unsupported, TlsUnique(Vec<u8>), }
Channel binding configuration.
Variants
None
No channel binding data.
Unsupported
Advertise that the client does not think the server supports channel binding.
TlsUnique(Vec<u8>)
p=tls-unique channel binding data.
Methods
impl ChannelBinding
[src]
fn header(&self) -> &[u8]
Return the gs2 header for this channel binding mechanism.
fn data(&self) -> &[u8]
Return the channel binding data for this channel binding mechanism.
Trait Implementations
impl Clone for ChannelBinding
[src]
fn clone(&self) -> ChannelBinding
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for ChannelBinding
[src]
impl PartialEq for ChannelBinding
[src]
fn eq(&self, __arg_0: &ChannelBinding) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ChannelBinding) -> bool
This method tests for !=
.