pub enum NoteKeyAssignOutcome {
Assigned,
AlreadyKeyed {
existing: String,
},
KeyTaken,
NotFound,
}Expand description
Result of setting the key on an existing note that has none.
Variants§
Trait Implementations§
Source§impl Clone for NoteKeyAssignOutcome
impl Clone for NoteKeyAssignOutcome
Source§impl Debug for NoteKeyAssignOutcome
impl Debug for NoteKeyAssignOutcome
impl Eq for NoteKeyAssignOutcome
Source§impl PartialEq for NoteKeyAssignOutcome
impl PartialEq for NoteKeyAssignOutcome
impl StructuralPartialEq for NoteKeyAssignOutcome
Auto Trait Implementations§
impl Freeze for NoteKeyAssignOutcome
impl RefUnwindSafe for NoteKeyAssignOutcome
impl Send for NoteKeyAssignOutcome
impl Sync for NoteKeyAssignOutcome
impl Unpin for NoteKeyAssignOutcome
impl UnsafeUnpin for NoteKeyAssignOutcome
impl UnwindSafe for NoteKeyAssignOutcome
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