pub enum BlockDeviceSource {
Image(ImageRef),
Volume(VolumeRef),
Snapshot(SnapshotRef),
}
Expand description
A source of a block device.
Variants§
Image(ImageRef)
A device from an image.
Volume(VolumeRef)
A device from a volume.
Snapshot(SnapshotRef)
A device from a snapshot.
Trait Implementations§
Source§impl Clone for BlockDeviceSource
impl Clone for BlockDeviceSource
Source§fn clone(&self) -> BlockDeviceSource
fn clone(&self) -> BlockDeviceSource
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for BlockDeviceSource
impl RefUnwindSafe for BlockDeviceSource
impl Send for BlockDeviceSource
impl Sync for BlockDeviceSource
impl Unpin for BlockDeviceSource
impl UnwindSafe for BlockDeviceSource
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