backend_dispatcher/interfaces/migrate_backup.rs
1use std::future::Future;
2
3use crate::error::Error;
4
5pub trait MigrateBackupTrait {
6 fn migrate_backup(
7 &self,
8 _shasta_token: &str,
9 _shasta_base_url: &str,
10 _shasta_root_cert: &[u8],
11 _bos: Option<&String>,
12 _destination: Option<&String>,
13 ) -> impl Future<Output = Result<(), Error>> + Send {
14 async {
15 Err(Error::Message(
16 "Migrate/backup command not implemented for this backend".to_string(),
17 ))
18 }
19 }
20}