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§
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
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.