Trait TypedObjectReferenceExt

Source
pub trait TypedObjectReferenceExt {
    // Required methods
    fn from_object<T>(object: &T) -> Self
       where T: Resource + Metadata<Ty = ObjectMeta>;
    fn namespace(self, namespace: impl ToString) -> Self;
}

Required Methods§

Source

fn from_object<T>(object: &T) -> Self
where T: Resource + Metadata<Ty = ObjectMeta>,

Construct this TypedObjectReference from the given object

Source

fn namespace(self, namespace: impl ToString) -> Self

Set namespace

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§