pub struct UnixHandoffFallback {
pub stage: UnixHandoffStage,
pub decision: HandoffFallbackDecision,
pub broker_fd: UnixFileDescriptor,
pub fd_reached_backend: bool,
pub detail: String,
}Expand description
A handoff abandoned at some orchestration stage.
The one-time token has been revoked and the pending ACK entry removed;
the caller must keep using the negotiated backend_pipe reconnect path.
The broker still owns broker_fd and may close it.
Fields§
§stage: UnixHandoffStageStage at which the handoff was abandoned.
decision: HandoffFallbackDecisionSilent reconnect fallback decision for the client-visible contract.
broker_fd: UnixFileDescriptorBroker-owned connection descriptor. SCM_RIGHTS only ever sends a
duplicate, so unlike the Windows leak contract the broker retains
ownership and may close this descriptor now that the handoff is
abandoned.
fd_reached_backend: boolTrue when the SCM_RIGHTS send already succeeded before the
failure: the backend holds a duplicated descriptor the broker
cannot reclaim; it lives until the backend closes it. The revoked
token guarantees the backend can never adopt that connection.
detail: StringHuman-readable failure detail for logs.
Trait Implementations§
Source§impl Clone for UnixHandoffFallback
impl Clone for UnixHandoffFallback
Source§fn clone(&self) -> UnixHandoffFallback
fn clone(&self) -> UnixHandoffFallback
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for UnixHandoffFallback
impl Debug for UnixHandoffFallback
impl Eq for UnixHandoffFallback
Source§impl PartialEq for UnixHandoffFallback
impl PartialEq for UnixHandoffFallback
Source§fn eq(&self, other: &UnixHandoffFallback) -> bool
fn eq(&self, other: &UnixHandoffFallback) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UnixHandoffFallback
Auto Trait Implementations§
impl Freeze for UnixHandoffFallback
impl RefUnwindSafe for UnixHandoffFallback
impl Send for UnixHandoffFallback
impl Sync for UnixHandoffFallback
impl Unpin for UnixHandoffFallback
impl UnsafeUnpin for UnixHandoffFallback
impl UnwindSafe for UnixHandoffFallback
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<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
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.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more