pub enum SsecPassthroughGate {
Proceed,
ProceedWithAudit,
FailClosed,
}Expand description
Fail-closed decision for an SSE-C passthrough replication attempt, derived
from the target’s cached SsecPassthroughCapability. Pure so the policy
can migrate with the worker (M2) without dragging the cache along; the
caller computes expired from the cache record’s age (see the runtime’s
SSEC_PASSTHROUGH_CAPABILITY_TTL).
Variants§
Proceed
Not an SSE-C object, or the target has a fresh proof that it preserves the passthrough transport headers: replicate without a HEAD-back audit.
ProceedWithAudit
No usable verdict — first SSE-C attempt since the target was (re)built, or the recorded verdict (in either direction) aged out: PUT, then HEAD the replica back and require SSE-C evidence before reporting COMPLETED.
FailClosed
The target was recently proven to drop the passthrough headers: do not send the PUT, report FAILED (the object stays on the normal MRF retry channel and re-audits once the verdict expires).
Trait Implementations§
Source§impl Clone for SsecPassthroughGate
impl Clone for SsecPassthroughGate
impl Copy for SsecPassthroughGate
Source§impl Debug for SsecPassthroughGate
impl Debug for SsecPassthroughGate
impl Eq for SsecPassthroughGate
Source§impl PartialEq for SsecPassthroughGate
impl PartialEq for SsecPassthroughGate
impl StructuralPartialEq for SsecPassthroughGate
Auto Trait Implementations§
impl Freeze for SsecPassthroughGate
impl RefUnwindSafe for SsecPassthroughGate
impl Send for SsecPassthroughGate
impl Sync for SsecPassthroughGate
impl Unpin for SsecPassthroughGate
impl UnsafeUnpin for SsecPassthroughGate
impl UnwindSafe for SsecPassthroughGate
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.