pub enum UpstreamAppDestinationKind {
Plain,
Single {
identity: IdentityHash,
proof_strategy: ProofStrategy,
link_request_policy: LinkRequestPolicy,
resource_strategy: ResourceStrategy,
maximum_request_bytes: ByteLimit,
ratchet_policy: RatchetPolicy,
},
Group,
}Variants§
Plain
Single
Fields
§
identity: IdentityHash§
proof_strategy: ProofStrategy§
link_request_policy: LinkRequestPolicy§
resource_strategy: ResourceStrategyHow links answered for this destination greet inbound resource advertisements the moment they activate: set once per destination, stamped onto every responder-side link at birth, so no per-link command can race a sender who advertises instantly.
§
ratchet_policy: RatchetPolicyRead at decrypt: RatchetsRequired refuses the identity-key fallback on inbound singles. The retained secrets themselves live in the engine’s self-ratchets table.
Group
Implementations§
Source§impl UpstreamAppDestinationKind
impl UpstreamAppDestinationKind
pub const fn wire_type(self) -> DestinationType
Trait Implementations§
Source§impl Clone for UpstreamAppDestinationKind
impl Clone for UpstreamAppDestinationKind
Source§fn clone(&self) -> UpstreamAppDestinationKind
fn clone(&self) -> UpstreamAppDestinationKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for UpstreamAppDestinationKind
Source§impl Debug for UpstreamAppDestinationKind
impl Debug for UpstreamAppDestinationKind
impl Eq for UpstreamAppDestinationKind
impl StructuralPartialEq for UpstreamAppDestinationKind
Auto Trait Implementations§
impl Freeze for UpstreamAppDestinationKind
impl RefUnwindSafe for UpstreamAppDestinationKind
impl Send for UpstreamAppDestinationKind
impl Sync for UpstreamAppDestinationKind
impl Unpin for UpstreamAppDestinationKind
impl UnsafeUnpin for UpstreamAppDestinationKind
impl UnwindSafe for UpstreamAppDestinationKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more