pub trait RelayPolicy:
Send
+ Sync
+ 'static {
// Provided method
fn decide(
&self,
direction: RelayDirection,
payload: &Bytes,
) -> RelayDecision { ... }
}pub trait RelayPolicy:
Send
+ Sync
+ 'static {
// Provided method
fn decide(
&self,
direction: RelayDirection,
payload: &Bytes,
) -> RelayDecision { ... }
}