pub enum Either {
Strong(TxStrong),
Weak(TxWeak),
}
Expand description
A reference counter that can be dynamically either strong or weak.
Variants§
Trait Implementations§
impl RefCounter for TxEither
Auto Trait Implementations§
impl RefUnwindSafe for TxEither
impl Send for TxEither
impl Sync for TxEither
impl Unpin for TxEither
impl UnwindSafe for TxEither
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