pub enum Arcob<'r, T: ?Sized + 'r> {
Borrowed(&'r T),
Arced(Arc<T>),
}Variants§
Implementations§
Trait Implementations§
impl<'r, T> Eq for Arcob<'r, T>
Auto Trait Implementations§
impl<'r, T> Freeze for Arcob<'r, T>where
T: ?Sized,
impl<'r, T> RefUnwindSafe for Arcob<'r, T>where
T: RefUnwindSafe + ?Sized,
impl<'r, T> Send for Arcob<'r, T>
impl<'r, T> Sync for Arcob<'r, T>
impl<'r, T> Unpin for Arcob<'r, T>where
T: ?Sized,
impl<'r, T> UnwindSafe for Arcob<'r, T>where
T: RefUnwindSafe + ?Sized,
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