pub enum DeviceProviderKind {
Instance,
Stub,
}Expand description
Provider source selected during device host composition.
Variants§
Instance
A concrete provider instance supplied the session.
Stub
No concrete provider was supplied, so the helper composed a stub session.
Trait Implementations§
Source§impl Clone for DeviceProviderKind
impl Clone for DeviceProviderKind
impl Copy for DeviceProviderKind
Source§impl Debug for DeviceProviderKind
impl Debug for DeviceProviderKind
impl Eq for DeviceProviderKind
Source§impl PartialEq for DeviceProviderKind
impl PartialEq for DeviceProviderKind
impl StructuralPartialEq for DeviceProviderKind
Auto Trait Implementations§
impl Freeze for DeviceProviderKind
impl RefUnwindSafe for DeviceProviderKind
impl Send for DeviceProviderKind
impl Sync for DeviceProviderKind
impl Unpin for DeviceProviderKind
impl UnsafeUnpin for DeviceProviderKind
impl UnwindSafe for DeviceProviderKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.