pub struct ConfiguredSessionReference { /* private fields */ }Implementations§
Source§impl ConfiguredSessionReference
impl ConfiguredSessionReference
Sourcepub fn retained_live(
authentication: SessionAuthenticationRecord,
session_id: Uuid,
) -> Self
pub fn retained_live( authentication: SessionAuthenticationRecord, session_id: Uuid, ) -> Self
Retains the original live Session identity while refreshing its handles for newly authorized work. The caller must still own that live Session.
pub fn new( intent: SessionReferenceIntent, authentication: SessionAuthenticationRecord, ) -> Result<Self, AppError>
Sourcepub fn live(
authentication: SessionAuthenticationRecord,
) -> (Self, LiveSessionIdentifier)
pub fn live( authentication: SessionAuthenticationRecord, ) -> (Self, LiveSessionIdentifier)
Creates a process-ephemeral live Session reference. Unlike a persisted client Session journal, it retains no durable Managed-secret holder.
Auto Trait Implementations§
impl Freeze for ConfiguredSessionReference
impl RefUnwindSafe for ConfiguredSessionReference
impl Send for ConfiguredSessionReference
impl Sync for ConfiguredSessionReference
impl Unpin for ConfiguredSessionReference
impl UnsafeUnpin for ConfiguredSessionReference
impl UnwindSafe for ConfiguredSessionReference
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