Trait LabelSelectorExt

Source
pub trait LabelSelectorExt {
    // Required methods
    fn all_objects() -> Self;
    fn no_objects() -> Self;
    fn new() -> Self;
    fn match_labels(
        self,
        match_labels: impl IntoIterator<Item = (impl ToString, impl ToString)>,
    ) -> Self;
}

Required Methods§

Source

fn all_objects() -> Self

Source

fn no_objects() -> Self

Source

fn new() -> Self

Source

fn match_labels( self, match_labels: impl IntoIterator<Item = (impl ToString, impl ToString)>, ) -> 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§