pub enum EditError {
Show 21 variants
NoHome,
Unreadable(String),
DoesNotLoad(String),
AlreadyApproved,
Unparseable,
BuiltIn(Vec<String>),
RunsAnAgent(String),
AlreadyHasEntry(String),
UnknownLevel(String),
NoAccess,
NotAbsolute(String),
Glob(String),
TooBroad(String),
Protected(String, Protected),
NotFound {
kind: &'static str,
key: String,
present: Vec<String>,
},
WriteFailed(String),
CannotEditCleanly,
OddName(String),
PathSpelled(String),
SubAfterFlags(String, String),
LevelInCommand,
}Expand description
What a config operation could not do. Every message says what was wrong, what would work
instead, and that nothing changed.
Variants§
NoHome
Unreadable(String)
DoesNotLoad(String)
AlreadyApproved
Unparseable
BuiltIn(Vec<String>)
RunsAnAgent(String)
AlreadyHasEntry(String)
UnknownLevel(String)
NoAccess
NotAbsolute(String)
Glob(String)
TooBroad(String)
Protected(String, Protected)
NotFound
WriteFailed(String)
CannotEditCleanly
OddName(String)
PathSpelled(String)
SubAfterFlags(String, String)
LevelInCommand
Trait Implementations§
impl Eq for EditError
impl StructuralPartialEq for EditError
Auto Trait Implementations§
impl Forget for EditError
impl Freeze for EditError
impl Move for EditError
impl RefUnwindSafe for EditError
impl Send for EditError
impl Sync for EditError
impl Unpin for EditError
impl UnsafeUnpin for EditError
impl UnwindSafe for EditError
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.