Trait VolumeExt

Source
pub trait VolumeExt: Sized {
    // Required methods
    fn secret(name: impl ToString, secret: SecretVolumeSource) -> Self;
    fn configmap(name: impl ToString, configmap: ConfigMapVolumeSource) -> Self;
}

Required Methods§

Source

fn secret(name: impl ToString, secret: SecretVolumeSource) -> Self

Source

fn configmap(name: impl ToString, configmap: ConfigMapVolumeSource) -> 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§