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§
fn verify( &self, port: u16, ) -> impl Future<Output = Result<(ConnectionMetadata, Vec<Value>), AppError>> + Send
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".