pub struct StorageSessionAffinity(/* private fields */);Expand description
Process-local identity of one storage transaction context. Clone it for handles sharing that context; allocate a new identity for each independent session. This is not a durable database or transaction ID.
Implementations§
Trait Implementations§
Source§impl Clone for StorageSessionAffinity
impl Clone for StorageSessionAffinity
Source§impl Debug for StorageSessionAffinity
impl Debug for StorageSessionAffinity
Source§impl Default for StorageSessionAffinity
impl Default for StorageSessionAffinity
impl Eq for StorageSessionAffinity
Auto Trait Implementations§
impl Freeze for StorageSessionAffinity
impl RefUnwindSafe for StorageSessionAffinity
impl Send for StorageSessionAffinity
impl Sync for StorageSessionAffinity
impl Unpin for StorageSessionAffinity
impl UnsafeUnpin for StorageSessionAffinity
impl UnwindSafe for StorageSessionAffinity
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