pub enum TrustRequest {
Default,
TrustOnce,
TrustPersisted,
Reject,
Ignore,
}Expand description
One invocation’s effective trust request.
Variants§
Default
Use persisted policy; interactive caller may prompt if undecided.
TrustOnce
Trust only for this process invocation.
TrustPersisted
Trust and persist the decision.
Reject
Reject and optionally persist through ProjectTrustStore::set.
Ignore
Ignore project-local input.
Trait Implementations§
Source§impl Clone for TrustRequest
impl Clone for TrustRequest
impl Copy for TrustRequest
Source§impl Debug for TrustRequest
impl Debug for TrustRequest
impl Eq for TrustRequest
Source§impl PartialEq for TrustRequest
impl PartialEq for TrustRequest
impl StructuralPartialEq for TrustRequest
Auto Trait Implementations§
impl Freeze for TrustRequest
impl RefUnwindSafe for TrustRequest
impl Send for TrustRequest
impl Sync for TrustRequest
impl Unpin for TrustRequest
impl UnsafeUnpin for TrustRequest
impl UnwindSafe for TrustRequest
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.