pub enum Drain {
All,
Oci,
Lib,
Smithy,
Downloads,
}Expand description
A type that allows you to clean up (i.e. drain) a set of caches and folders used by wasmcloud
Variants§
All
Remove all cached files created by wasmcloud
Oci
Remove cached files downloaded from OCI registries by wasmCloud
Lib
Remove cached binaries extracted from provider archives
Smithy
Remove cached smithy files downloaded from model urls
Downloads
Remove downloaded and generated files from launching wasmCloud hosts
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Drain
impl Send for Drain
impl Sync for Drain
impl Unpin for Drain
impl UnwindSafe for Drain
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