pub enum OperationKind {
CreateFile(CreateFile),
DeleteNode(DeleteNode),
EditText(EditText),
RenamePath(RenamePath),
ChangePerm(ChangePerm),
CreateSymlink(CreateSymlink),
ReplaceBinary(ReplaceBinary),
}Expand description
Operation variants.
Variants§
CreateFile(CreateFile)
Create a text or binary file.
DeleteNode(DeleteNode)
Delete a node.
EditText(EditText)
Edit text using content-anchored spans.
RenamePath(RenamePath)
Rename a path.
ChangePerm(ChangePerm)
Change Unix-like permissions.
CreateSymlink(CreateSymlink)
Create a symbolic link.
ReplaceBinary(ReplaceBinary)
Replace an opaque binary blob.
Trait Implementations§
Source§impl Clone for OperationKind
impl Clone for OperationKind
Source§fn clone(&self) -> OperationKind
fn clone(&self) -> OperationKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OperationKind
impl Debug for OperationKind
impl Eq for OperationKind
Source§impl PartialEq for OperationKind
impl PartialEq for OperationKind
Source§fn eq(&self, other: &OperationKind) -> bool
fn eq(&self, other: &OperationKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for OperationKind
Auto Trait Implementations§
impl Freeze for OperationKind
impl RefUnwindSafe for OperationKind
impl Send for OperationKind
impl Sync for OperationKind
impl Unpin for OperationKind
impl UnsafeUnpin for OperationKind
impl UnwindSafe for OperationKind
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