Trait CommonPropertiesExtension

Source
pub trait CommonPropertiesExtension: Resource {
    type PrincipalResource: NamedRoute;

    // Provided methods
    fn get_prop(
        &self,
        rmap: &ResourceMap,
        principal: &Self::Principal,
        prop: &CommonPropertiesPropName,
    ) -> Result<CommonPropertiesProp, <Self as Resource>::Error> { ... }
    fn set_prop(&self, _prop: CommonPropertiesProp) -> Result<(), Error> { ... }
    fn remove_prop(&self, _prop: &CommonPropertiesPropName) -> Result<(), Error> { ... }
}

Required Associated Types§

Provided Methods§

Source

fn get_prop( &self, rmap: &ResourceMap, principal: &Self::Principal, prop: &CommonPropertiesPropName, ) -> Result<CommonPropertiesProp, <Self as Resource>::Error>

Source

fn set_prop(&self, _prop: CommonPropertiesProp) -> Result<(), Error>

Source

fn remove_prop(&self, _prop: &CommonPropertiesPropName) -> Result<(), Error>

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§