pub enum StagedMaybeAlloc<'a, K, T> where
K: Kind,
T: Call<'a, Alloc<K>>, {
Alloc(T::Staged),
Stub(T::Collected),
}
Variants
Alloc(T::Staged)
Stub(T::Collected)
Trait Implementations
Auto Trait Implementations
impl<'a, K, T> RefUnwindSafe for StagedMaybeAlloc<'a, K, T> where
<T as Call<'a, Alloc<K>>>::Collected: RefUnwindSafe,
<T as Call<'a, Alloc<K>>>::Staged: RefUnwindSafe,
impl<'a, K, T> Send for StagedMaybeAlloc<'a, K, T> where
<T as Call<'a, Alloc<K>>>::Collected: Send,
<T as Call<'a, Alloc<K>>>::Staged: Send,
impl<'a, K, T> Sync for StagedMaybeAlloc<'a, K, T> where
<T as Call<'a, Alloc<K>>>::Collected: Sync,
<T as Call<'a, Alloc<K>>>::Staged: Sync,
impl<'a, K, T> Unpin for StagedMaybeAlloc<'a, K, T> where
<T as Call<'a, Alloc<K>>>::Collected: Unpin,
<T as Call<'a, Alloc<K>>>::Staged: Unpin,
impl<'a, K, T> UnwindSafe for StagedMaybeAlloc<'a, K, T> where
<T as Call<'a, Alloc<K>>>::Collected: UnwindSafe,
<T as Call<'a, Alloc<K>>>::Staged: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more