pub enum ImportOutcome {
Stored,
AlreadyPresent,
KeptForgotten,
Forgotten,
Refused(String),
}Expand description
What import_line_in did with one line.
Variants§
Stored
Appended: a note, or a tombstone, whose id the file did not have.
AlreadyPresent
Nothing written: the note is live in the file as given, or (for a tombstone line) the id is already tombstoned there.
KeptForgotten
Nothing written: a note whose id is tombstoned in the file. An import does not undo a forget.
Forgotten
A tombstone appended for an id that was live.
Refused(String)
Nothing written. The reason names fields and positions and never quotes a value of the line.
Implementations§
Trait Implementations§
Source§impl Clone for ImportOutcome
impl Clone for ImportOutcome
Source§impl Debug for ImportOutcome
impl Debug for ImportOutcome
impl Eq for ImportOutcome
Source§impl PartialEq for ImportOutcome
impl PartialEq for ImportOutcome
impl StructuralPartialEq for ImportOutcome
Auto Trait Implementations§
impl Forget for ImportOutcome
impl Freeze for ImportOutcome
impl Move for ImportOutcome
impl RefUnwindSafe for ImportOutcome
impl Send for ImportOutcome
impl Sync for ImportOutcome
impl Unpin for ImportOutcome
impl UnsafeUnpin for ImportOutcome
impl UnwindSafe for ImportOutcome
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.