pub enum SqpkFileOperation {
AddFile,
RemoveAll,
DeleteFile,
MakeDirTree,
}Expand description
Operation byte of a SQPK F command.
Variants§
AddFile
A — add or overwrite a file with the inline block payload.
RemoveAll
R — remove all files in the expansion folder except a keep-list.
DeleteFile
D — delete a single file.
MakeDirTree
M — create a directory tree.
Trait Implementations§
Source§impl Clone for SqpkFileOperation
impl Clone for SqpkFileOperation
Source§fn clone(&self) -> SqpkFileOperation
fn clone(&self) -> SqpkFileOperation
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 SqpkFileOperation
impl Debug for SqpkFileOperation
Source§impl PartialEq for SqpkFileOperation
impl PartialEq for SqpkFileOperation
Source§fn eq(&self, other: &SqpkFileOperation) -> bool
fn eq(&self, other: &SqpkFileOperation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for SqpkFileOperation
impl Eq for SqpkFileOperation
impl StructuralPartialEq for SqpkFileOperation
Auto Trait Implementations§
impl Freeze for SqpkFileOperation
impl RefUnwindSafe for SqpkFileOperation
impl Send for SqpkFileOperation
impl Sync for SqpkFileOperation
impl Unpin for SqpkFileOperation
impl UnsafeUnpin for SqpkFileOperation
impl UnwindSafe for SqpkFileOperation
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