Skip to main content

Verifier

Trait Verifier 

Source
pub trait Verifier: Send + Sync {
    // Required method
    fn verify(
        &self,
        port: u16,
    ) -> impl Future<Output = Result<(ConnectionMetadata, Vec<Value>), AppError>> + Send;

    // Provided method
    fn core_only(&self, _port: u16) -> bool { ... }
}
Expand description

Platform-specific verification before any session access. Raw target URLs remain internal; only sanitized connection metadata can be returned to the caller.

Required Methods§

Source

fn verify( &self, port: u16, ) -> impl Future<Output = Result<(ConnectionMetadata, Vec<Value>), AppError>> + Send

Provided Methods§

Source

fn core_only(&self, _port: u16) -> bool

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§