#[repr(C)]pub struct lxc_snapshot {
pub name: *mut c_char,
pub comment_pathname: *mut c_char,
pub timestamp: *mut c_char,
pub lxcpath: *mut c_char,
pub free: unsafe extern "C" fn(s: *mut lxc_snapshot) -> c_void,
}Expand description
An LXC container snapshot.
version: 1.0.0
Fields§
§name: *mut c_charName of snapshot
version: 1.0.0
comment_pathname: *mut c_charFull path to snapshots comment file (may be NULL)
version: 1.0.0
timestamp: *mut c_charTime snapshot was created
version: 1.0.0
lxcpath: *mut c_charFull path to LXCPATH for snapshot
version: 1.0.0
free: unsafe extern "C" fn(s: *mut lxc_snapshot) -> c_voidDe-allocate the snapshot.
Parameters
s Snapshot.
version: 1.0.0
Trait Implementations§
Source§impl Clone for lxc_snapshot
impl Clone for lxc_snapshot
Source§fn clone(&self) -> lxc_snapshot
fn clone(&self) -> lxc_snapshot
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for lxc_snapshot
impl Debug for lxc_snapshot
impl Copy for lxc_snapshot
Auto Trait Implementations§
impl Freeze for lxc_snapshot
impl RefUnwindSafe for lxc_snapshot
impl !Send for lxc_snapshot
impl !Sync for lxc_snapshot
impl Unpin for lxc_snapshot
impl UnwindSafe for lxc_snapshot
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