pub enum VolumeSource {
Bind {
source: PathBuf,
},
Tmpfs {
size: Option<String>,
},
}Expand description
Source backing for a volume mount.
Variants§
Trait Implementations§
Source§impl Clone for VolumeSource
impl Clone for VolumeSource
Source§fn clone(&self) -> VolumeSource
fn clone(&self) -> VolumeSource
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 moreAuto Trait Implementations§
impl Freeze for VolumeSource
impl RefUnwindSafe for VolumeSource
impl Send for VolumeSource
impl Sync for VolumeSource
impl Unpin for VolumeSource
impl UnsafeUnpin for VolumeSource
impl UnwindSafe for VolumeSource
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