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
Source§fn clone(&self) -> DeviceProviderKind
fn clone(&self) -> DeviceProviderKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl 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