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§
Sourcefn from_object<T>(object: &T) -> Self
fn from_object<T>(object: &T) -> Self
Construct this TypedObjectReference
from the given object
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.