pub enum EditorReadMode {
ForceCommit,
Latest,
Pending,
}Expand description
EditorReadMode: which state Editor::read_with_mode reads.
Variants§
ForceCommit
'force-commit': commit the pending update, then read.
Latest
'latest': the committed state, without committing.
Pending
'pending': the pending state, or the committed one without one.
Trait Implementations§
Source§impl Clone for EditorReadMode
impl Clone for EditorReadMode
impl Copy for EditorReadMode
Source§impl Debug for EditorReadMode
impl Debug for EditorReadMode
impl Eq for EditorReadMode
Source§impl PartialEq for EditorReadMode
impl PartialEq for EditorReadMode
impl StructuralPartialEq for EditorReadMode
Auto Trait Implementations§
impl Forget for EditorReadMode
impl Freeze for EditorReadMode
impl Move for EditorReadMode
impl RefUnwindSafe for EditorReadMode
impl Send for EditorReadMode
impl Sync for EditorReadMode
impl Unpin for EditorReadMode
impl UnsafeUnpin for EditorReadMode
impl UnwindSafe for EditorReadMode
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