Trait VolumeMountExt

Source
pub trait VolumeMountExt: Sized {
    // Required methods
    fn new(mount_path: impl ToString, volume: &Volume) -> Self;
    fn read_only(self) -> Self;
}
Expand description

Builders for corev1::VolumeMount objects

Required Methods§

Source

fn new(mount_path: impl ToString, volume: &Volume) -> Self

Source

fn read_only(self) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§