Skip to main content

OrgPolicy

Trait OrgPolicy 

Source
pub trait OrgPolicy {
    // Required method
    fn inbound_mode(&self, org_did: &str) -> Option<InboundMode>;
}
Expand description

The receiver’s per-org pairing policy. Phase 3 (slate-lotus) implements this over config/wire/org_policies.json (first-match-wins, immutable default-deny). None means the org is not in the receiver’s trusted set.

Required Methods§

Source

fn inbound_mode(&self, org_did: &str) -> Option<InboundMode>

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§