pub struct SelfRef { /* private fields */ }Expand description
A Store’s mutable weak reference to itself
Because credentials contain an Arc to their store,
the store needs to keep a Weak to itself which can be
upgraded to create the credential. Because
the Store has to be created and an Arc of it taken
before that Arc can be downgraded and stored inside
the Store, the self-reference must be mutable.
Auto Trait Implementations§
impl Freeze for SelfRef
impl !RefUnwindSafe for SelfRef
impl Send for SelfRef
impl Sync for SelfRef
impl Unpin for SelfRef
impl !UnwindSafe for SelfRef
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