Trait StorageClassExt

Source
pub trait StorageClassExt: ResourceBuilder {
    // Required methods
    fn with_provisioner(name: impl ToString, provisioner: impl ToString) -> Self;
    fn allow_volume_expansion(self, yes: bool) -> Self;
    fn mount_options(
        self,
        options: impl IntoIterator<Item = impl ToString>,
    ) -> Self;
    fn parameters(
        self,
        parameters: impl IntoIterator<Item = (impl ToString, impl ToString)>,
    ) -> Self;
    fn retain(self) -> Self;
    fn delete(self) -> Self;
    fn immediate(self) -> Self;
    fn wait_for_first_consumer(self) -> Self;
}

Required Methods§

Source

fn with_provisioner(name: impl ToString, provisioner: impl ToString) -> Self

Source

fn allow_volume_expansion(self, yes: bool) -> Self

Source

fn mount_options(self, options: impl IntoIterator<Item = impl ToString>) -> Self

Source

fn parameters( self, parameters: impl IntoIterator<Item = (impl ToString, impl ToString)>, ) -> Self

Source

fn retain(self) -> Self

Source

fn delete(self) -> Self

Source

fn immediate(self) -> Self

Source

fn wait_for_first_consumer(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§