pub struct HostOpenPlan { /* private fields */ }Expand description
Resolved plan describing how a device would be opened.
Names the backend, device, the effect kind the open performs, and the capabilities the open requires.
Implementations§
Source§impl HostOpenPlan
impl HostOpenPlan
Sourcepub fn effect_kind(&self) -> &Symbol
pub fn effect_kind(&self) -> &Symbol
Returns the effect kind the open performs.
Sourcepub fn requires(&self) -> &[CapabilityName]
pub fn requires(&self) -> &[CapabilityName]
Returns the capabilities the open requires.
Trait Implementations§
Source§impl Clone for HostOpenPlan
impl Clone for HostOpenPlan
Source§fn clone(&self) -> HostOpenPlan
fn clone(&self) -> HostOpenPlan
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 moreSource§impl Debug for HostOpenPlan
impl Debug for HostOpenPlan
impl Eq for HostOpenPlan
Source§impl PartialEq for HostOpenPlan
impl PartialEq for HostOpenPlan
Source§fn eq(&self, other: &HostOpenPlan) -> bool
fn eq(&self, other: &HostOpenPlan) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for HostOpenPlan
Auto Trait Implementations§
impl Freeze for HostOpenPlan
impl RefUnwindSafe for HostOpenPlan
impl Send for HostOpenPlan
impl Sync for HostOpenPlan
impl Unpin for HostOpenPlan
impl UnsafeUnpin for HostOpenPlan
impl UnwindSafe for HostOpenPlan
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