pub struct HostExecPolicy { /* private fields */ }Expand description
Explicit read roots used by the typed host command launcher.
Implementations§
Source§impl HostExecPolicy
impl HostExecPolicy
Sourcepub fn new<I, P>(roots: I) -> InfraResult<Self>
pub fn new<I, P>(roots: I) -> InfraResult<Self>
Creates a host command policy with one to thirty-two absolute roots.
Trait Implementations§
Source§impl Clone for HostExecPolicy
impl Clone for HostExecPolicy
Source§fn clone(&self) -> HostExecPolicy
fn clone(&self) -> HostExecPolicy
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 HostExecPolicy
impl Debug for HostExecPolicy
Source§impl PartialEq for HostExecPolicy
impl PartialEq for HostExecPolicy
Source§fn eq(&self, other: &HostExecPolicy) -> bool
fn eq(&self, other: &HostExecPolicy) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for HostExecPolicy
impl StructuralPartialEq for HostExecPolicy
Auto Trait Implementations§
impl Freeze for HostExecPolicy
impl RefUnwindSafe for HostExecPolicy
impl Send for HostExecPolicy
impl Sync for HostExecPolicy
impl Unpin for HostExecPolicy
impl UnsafeUnpin for HostExecPolicy
impl UnwindSafe for HostExecPolicy
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.