pub struct SessionOwned {
pub keys: Vec<KeypairEntry>,
pub scope: AgentScope,
pub confirmer: Box<dyn Confirmer>,
pub audit: Box<dyn AuditSink>,
pub clock: Box<dyn Clock>,
pub confirm_timeout: Duration,
pub requesting_process: Option<String>,
}Expand description
Owned session inputs, so serve’s closure can build a session per request
without lifetime entanglement with the listener loop.
Fields§
§keys: Vec<KeypairEntry>The custodied keys (with private halves).
scope: AgentScopeThe agent scope.
confirmer: Box<dyn Confirmer>The confirmer.
audit: Box<dyn AuditSink>The audit sink.
clock: Box<dyn Clock>The clock.
confirm_timeout: DurationThe confirmation timeout.
requesting_process: Option<String>The observed requesting process (I16).
Auto Trait Implementations§
impl !RefUnwindSafe for SessionOwned
impl !Send for SessionOwned
impl !Sync for SessionOwned
impl !UnwindSafe for SessionOwned
impl Freeze for SessionOwned
impl Unpin for SessionOwned
impl UnsafeUnpin for SessionOwned
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