Skip to main content

Runnable

Trait Runnable 

Source
pub trait Runnable {
    // Required method
    fn run(&self, format: Format, dry_run: bool) -> Result<()>;
}
Expand description

A CLI subcommand that can be executed.

Required Methods§

Source

fn run(&self, format: Format, dry_run: bool) -> Result<()>

Execute this command.

§Errors

Returns an error if the command fails.

Implementors§

Source§

impl Runnable for Command

Source§

impl Runnable for BalanceCancelCommand

Source§

impl Runnable for BalanceCommand

Source§

impl Runnable for BalancePauseCommand

Source§

impl Runnable for BalanceResumeCommand

Source§

impl Runnable for BalanceStartCommand

Source§

impl Runnable for BalanceStatusCommand

Source§

impl Runnable for CheckCommand

Source§

impl Runnable for DeviceAddCommand

Source§

impl Runnable for DeviceCommand

Source§

impl Runnable for DeviceReadyCommand

Source§

impl Runnable for DeviceRemoveCommand

Source§

impl Runnable for DeviceScanCommand

Source§

impl Runnable for DeviceStatsCommand

Source§

impl Runnable for DeviceUsageCommand

Source§

impl Runnable for DumpSuperCommand

Source§

impl Runnable for DumpTreeCommand

Source§

impl Runnable for FilesystemCommand

Source§

impl Runnable for FilesystemCommitStatsCommand

Source§

impl Runnable for FilesystemDefragCommand

Source§

impl Runnable for FilesystemDfCommand

Source§

impl Runnable for FilesystemDuCommand

Source§

impl Runnable for FilesystemLabelCommand

Source§

impl Runnable for FilesystemMkswapfileCommand

Source§

impl Runnable for FilesystemResizeCommand

Source§

impl Runnable for FilesystemShowCommand

Source§

impl Runnable for FilesystemSyncCommand

Source§

impl Runnable for FilesystemUsageCommand

Source§

impl Runnable for InodeResolveCommand

Source§

impl Runnable for InspectCommand

Source§

impl Runnable for ListChunksCommand

Source§

impl Runnable for LogicalResolveCommand

Source§

impl Runnable for MapSwapfileCommand

Source§

impl Runnable for MinDevSizeCommand

Source§

impl Runnable for PropertyCommand

Source§

impl Runnable for PropertyGetCommand

Source§

impl Runnable for PropertyListCommand

Source§

impl Runnable for PropertySetCommand

Source§

impl Runnable for QgroupAssignCommand

Source§

impl Runnable for QgroupClearStaleCommand

Source§

impl Runnable for QgroupCommand

Source§

impl Runnable for QgroupCreateCommand

Source§

impl Runnable for QgroupDestroyCommand

Source§

impl Runnable for QgroupLimitCommand

Source§

impl Runnable for QgroupRemoveCommand

Source§

impl Runnable for QgroupShowCommand

Source§

impl Runnable for QuotaCommand

Source§

impl Runnable for QuotaDisableCommand

Source§

impl Runnable for QuotaEnableCommand

Source§

impl Runnable for QuotaRescanCommand

Source§

impl Runnable for QuotaStatusCommand

Source§

impl Runnable for ReceiveCommand

Source§

impl Runnable for ReplaceCancelCommand

Source§

impl Runnable for ReplaceCommand

Source§

impl Runnable for ReplaceStartCommand

Source§

impl Runnable for ReplaceStatusCommand

Source§

impl Runnable for RescueChunkRecoverCommand

Source§

impl Runnable for RescueClearInoCacheCommand

Source§

impl Runnable for RescueClearSpaceCacheCommand

Source§

impl Runnable for RescueClearUuidTreeCommand

Source§

impl Runnable for RescueCommand

Source§

impl Runnable for RescueCreateControlDeviceCommand

Source§

impl Runnable for RescueFixDataChecksumCommand

Source§

impl Runnable for RescueFixDeviceSizeCommand

Source§

impl Runnable for RescueSuperRecoverCommand

Source§

impl Runnable for RescueZeroLogCommand

Source§

impl Runnable for RestoreCommand

Source§

impl Runnable for RootidCommand

Source§

impl Runnable for ScrubCancelCommand

Source§

impl Runnable for ScrubCommand

Source§

impl Runnable for ScrubLimitCommand

Source§

impl Runnable for ScrubResumeCommand

Source§

impl Runnable for ScrubStartCommand

Source§

impl Runnable for ScrubStatusCommand

Source§

impl Runnable for SendCommand

Source§

impl Runnable for SubvolidResolveCommand

Source§

impl Runnable for SubvolumeCommand

Source§

impl Runnable for SubvolumeCreateCommand

Source§

impl Runnable for SubvolumeDeleteCommand

Source§

impl Runnable for SubvolumeFindNewCommand

Source§

impl Runnable for SubvolumeGetDefaultCommand

Source§

impl Runnable for SubvolumeGetFlagsCommand

Source§

impl Runnable for SubvolumeListCommand

Source§

impl Runnable for SubvolumeSetDefaultCommand

Source§

impl Runnable for SubvolumeSetFlagsCommand

Source§

impl Runnable for SubvolumeShowCommand

Source§

impl Runnable for SubvolumeSnapshotCommand

Source§

impl Runnable for SubvolumeSyncCommand

Source§

impl Runnable for TreeStatsCommand