pub enum TrustPathError {
NotFound(PathBuf),
UpdateFailed(String),
}Expand description
A path problem surfaced by /trust add|remove.
Variants§
NotFound(PathBuf)
The supplied path does not exist.
UpdateFailed(String)
The allow-list could not be updated; carries the host error text.
Trait Implementations§
Source§impl Clone for TrustPathError
impl Clone for TrustPathError
Source§impl Debug for TrustPathError
impl Debug for TrustPathError
impl Eq for TrustPathError
Source§impl PartialEq for TrustPathError
impl PartialEq for TrustPathError
impl StructuralPartialEq for TrustPathError
Auto Trait Implementations§
impl Forget for TrustPathError
impl Freeze for TrustPathError
impl Move for TrustPathError
impl RefUnwindSafe for TrustPathError
impl Send for TrustPathError
impl Sync for TrustPathError
impl Unpin for TrustPathError
impl UnsafeUnpin for TrustPathError
impl UnwindSafe for TrustPathError
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.