pub enum CacheCommand<'a> {
Show 23 variants
Put {
aliases: Vec<&'a str>,
value: &'a str,
},
Describe(Option<&'a str>),
ListCache,
CurrentCache,
Backup,
Flush,
Restore,
DeleteCache(Option<&'a str>),
Merge(&'a str),
Alias((&'a str, &'a str)),
Del(&'a str),
Get(&'a str),
Clip(&'a str),
Exec {
key: &'a str,
args: Option<&'a str>,
},
Cd(ChangeDirectoryType<'a>),
Using(&'a str),
Dump(Option<&'a str>),
Clear,
PrintScriptContext,
StoreScriptContext(Option<&'a str>),
LoadScriptContext(Option<&'a str>),
PrintAst(&'a str),
Help,
}
Variants§
Put
Describe(Option<&'a str>)
ListCache
CurrentCache
Backup
Flush
Restore
DeleteCache(Option<&'a str>)
Merge(&'a str)
Alias((&'a str, &'a str))
Del(&'a str)
Get(&'a str)
Clip(&'a str)
Exec
Cd(ChangeDirectoryType<'a>)
Using(&'a str)
Dump(Option<&'a str>)
Clear
PrintScriptContext
StoreScriptContext(Option<&'a str>)
LoadScriptContext(Option<&'a str>)
PrintAst(&'a str)
Help
Implementations§
Trait Implementations§
source§impl<'a> Debug for CacheCommand<'a>
impl<'a> Debug for CacheCommand<'a>
Auto Trait Implementations§
impl<'a> Freeze for CacheCommand<'a>
impl<'a> RefUnwindSafe for CacheCommand<'a>
impl<'a> Send for CacheCommand<'a>
impl<'a> Sync for CacheCommand<'a>
impl<'a> Unpin for CacheCommand<'a>
impl<'a> UnwindSafe for CacheCommand<'a>
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