pub async fn start<DP, SM, SL>(
cancellation_token: CancellationToken,
listener: TcpListener,
dp_discovery: DP,
session_manager: SM,
segment_lister: SL,
snap_token_decoding_key: DecodingKey,
metrics: Metrics,
) -> Result<()>where
DP: DataPlaneDiscovery + 'static + Send + Sync,
SM: SessionGranter + 'static + Send + Sync,
SL: PathDiscovery + 'static + Send + Sync,Expand description
Start the SNAP control plane API server.