pub trait GssEncUpgrade<Stream> {
type SecuredStream;
type Error;
// Required method
fn upgrade(
self,
stream: Stream,
) -> impl Future<Output = Result<Self::SecuredStream, Self::Error>>;
}Expand description
Upgrades a transport after the typed GSSENC negotiation has accepted it.
Implementations can wrap MIT Kerberos, Heimdal, Windows SSPI, or a remote
credential service without making pg-proto select or configure that stack.
Required Associated Types§
Sourcetype SecuredStream
type SecuredStream
Transport produced after GSS encryption negotiation and handshake.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".