pub trait TargetProtocolExecutor: Send + Sync {
// Required methods
fn target_protocol(&self) -> DiscoveryProtocol;
fn execute(
&self,
request: CrossProtocolTargetRequest<'_>,
) -> Result<CrossProtocolTargetExecution, BridgeError>;
}Expand description
Pluggable executor for a non-native target protocol.
Required Methods§
fn target_protocol(&self) -> DiscoveryProtocol
fn execute( &self, request: CrossProtocolTargetRequest<'_>, ) -> Result<CrossProtocolTargetExecution, BridgeError>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".