pub struct VzdumpClient<T> { /* private fields */ }Implementations§
Source§impl<T> VzdumpClient<T>where
T: Client,
impl<T> VzdumpClient<T>where
T: Client,
Source§impl<T> VzdumpClient<T>where
T: Client,
impl<T> VzdumpClient<T>where
T: Client,
Sourcepub async fn post(&self, params: PostParams) -> Result<String, T::Error>
pub async fn post(&self, params: PostParams) -> Result<String, T::Error>
Create backup.
The user needs ‘VM.Backup’ permissions on any VM, and ‘Datastore.AllocateSpace’ on the backup storage (and fleecing storage when fleecing is used). The ‘tmpdir’, ‘dumpdir’, ‘script’ and ‘job-id’ parameters are restricted to the ‘root@pam’ user. The ‘prune-backups’ setting requires ‘Datastore.Allocate’ on the backup storage. The ‘bwlimit’, ‘performance’ and ‘ionice’ parameters require ‘Sys.Modify’ on ‘/’.
Source§impl<T> VzdumpClient<T>where
T: Client,
impl<T> VzdumpClient<T>where
T: Client,
pub fn defaults(&self) -> DefaultsClient<T>
Source§impl<T> VzdumpClient<T>where
T: Client,
impl<T> VzdumpClient<T>where
T: Client,
pub fn extractconfig(&self) -> ExtractconfigClient<T>
Trait Implementations§
Source§impl<T: Clone> Clone for VzdumpClient<T>
impl<T: Clone> Clone for VzdumpClient<T>
Source§fn clone(&self) -> VzdumpClient<T>
fn clone(&self) -> VzdumpClient<T>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<T> Freeze for VzdumpClient<T>where
T: Freeze,
impl<T> RefUnwindSafe for VzdumpClient<T>where
T: RefUnwindSafe,
impl<T> Send for VzdumpClient<T>where
T: Send,
impl<T> Sync for VzdumpClient<T>where
T: Sync,
impl<T> Unpin for VzdumpClient<T>where
T: Unpin,
impl<T> UnsafeUnpin for VzdumpClient<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for VzdumpClient<T>where
T: UnwindSafe,
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