pub enum Operator {
Set(SetTypes),
Rm,
Reset,
Get,
AddFile(SetTypes),
SetVersion(String),
Update(String),
RmFile(String),
UpdateAll,
ListFiles,
None,
}
Variants§
Set(SetTypes)
Rm
Reset
Get
AddFile(SetTypes)
SetVersion(String)
Update(String)
RmFile(String)
UpdateAll
ListFiles
None
Trait Implementations§
Source§impl TryFrom<&FilesCommand> for Operator
impl TryFrom<&FilesCommand> for Operator
Source§type Error = VersionError
type Error = VersionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&GetSetBuild> for Operator
impl TryFrom<&GetSetBuild> for Operator
Source§type Error = VersionError
type Error = VersionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&GetSetBuildCommand> for Operator
impl TryFrom<&GetSetBuildCommand> for Operator
Source§type Error = VersionError
type Error = VersionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&GetSetCommand> for Operator
impl TryFrom<&GetSetCommand> for Operator
Source§type Error = VersionError
type Error = VersionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&GetSetRmCommand> for Operator
impl TryFrom<&GetSetRmCommand> for Operator
Source§type Error = VersionError
type Error = VersionError
The type returned in the event of a conversion error.
Source§impl TryFrom<FilesCommand> for Operator
impl TryFrom<FilesCommand> for Operator
Source§type Error = VersionError
type Error = VersionError
The type returned in the event of a conversion error.
Source§impl TryFrom<GetSetBuild> for Operator
impl TryFrom<GetSetBuild> for Operator
Source§type Error = VersionError
type Error = VersionError
The type returned in the event of a conversion error.
Source§impl TryFrom<GetSetBuildCommand> for Operator
impl TryFrom<GetSetBuildCommand> for Operator
Source§type Error = VersionError
type Error = VersionError
The type returned in the event of a conversion error.
Source§impl TryFrom<GetSetCommand> for Operator
impl TryFrom<GetSetCommand> for Operator
Source§type Error = VersionError
type Error = VersionError
The type returned in the event of a conversion error.
Source§impl TryFrom<GetSetRmCommand> for Operator
impl TryFrom<GetSetRmCommand> for Operator
Source§type Error = VersionError
type Error = VersionError
The type returned in the event of a conversion error.
impl StructuralPartialEq for Operator
Auto Trait Implementations§
impl Freeze for Operator
impl RefUnwindSafe for Operator
impl Send for Operator
impl Sync for Operator
impl Unpin for Operator
impl UnwindSafe for Operator
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