pub struct SessionAttachFacts {
pub explicit_agent: Option<ExplicitAgentBind>,
pub explicit_heddle_session_id: Option<String>,
pub native_actor: SessionLookupFact,
pub client_instance: SessionLookupFact,
pub native_instance: SessionLookupFact,
pub root_actor: bool,
pub current_worktree: WorktreeSessionFact,
pub token_sid: TokenSidFact,
}Expand description
Caller-gathered facts for pure session attach policy (no I/O).
Hard binds (explicit_agent, explicit_heddle_session_id) must already be
validated as active sessions by the caller; invalid binds should error
before calling decide_session_attach.
Fields§
§explicit_agent: Option<ExplicitAgentBind>§explicit_heddle_session_id: Option<String>§native_actor: SessionLookupFact§client_instance: SessionLookupFact§native_instance: SessionLookupFact§root_actor: boolProbe attach hint: root actors may reuse the current worktree session.
current_worktree: WorktreeSessionFact§token_sid: TokenSidFactTrait Implementations§
Source§impl Clone for SessionAttachFacts
impl Clone for SessionAttachFacts
Source§fn clone(&self) -> SessionAttachFacts
fn clone(&self) -> SessionAttachFacts
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 moreSource§impl Debug for SessionAttachFacts
impl Debug for SessionAttachFacts
Source§impl Default for SessionAttachFacts
impl Default for SessionAttachFacts
Source§fn default() -> SessionAttachFacts
fn default() -> SessionAttachFacts
Returns the “default value” for a type. Read more
impl Eq for SessionAttachFacts
Source§impl PartialEq for SessionAttachFacts
impl PartialEq for SessionAttachFacts
impl StructuralPartialEq for SessionAttachFacts
Auto Trait Implementations§
impl Freeze for SessionAttachFacts
impl RefUnwindSafe for SessionAttachFacts
impl Send for SessionAttachFacts
impl Sync for SessionAttachFacts
impl Unpin for SessionAttachFacts
impl UnsafeUnpin for SessionAttachFacts
impl UnwindSafe for SessionAttachFacts
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