Skip to main content

BlockingAuthenticatedTransport

Trait BlockingAuthenticatedTransport 

Source
pub trait BlockingAuthenticatedTransport {
    type Error;

    // Required method
    fn send_authenticated(
        &self,
        request: AuthenticatedRequest<'_, '_>,
        response: &mut ResponseWriter<'_>,
    ) -> Result<(), Self::Error>;
}
Expand description

Blocking transport that cannot execute without an authentication policy.

Required Associated Types§

Source

type Error

Transport-specific failure.

Required Methods§

Source

fn send_authenticated( &self, request: AuthenticatedRequest<'_, '_>, response: &mut ResponseWriter<'_>, ) -> Result<(), Self::Error>

Validates scope and sends one authenticated request.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§