pub struct SessionSnapshot {
pub client: HttpClient,
pub credential: SecretString,
}Expand description
Snapshot held by every RemoteWorkerActor. Shared via ArcSwap so
rebuilds are lock-free for readers.
Fields§
§client: HttpClient§credential: SecretStringAuto Trait Implementations§
impl Freeze for SessionSnapshot
impl !RefUnwindSafe for SessionSnapshot
impl Send for SessionSnapshot
impl Sync for SessionSnapshot
impl Unpin for SessionSnapshot
impl UnsafeUnpin for SessionSnapshot
impl !UnwindSafe for SessionSnapshot
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