pub trait AppManagerActionObj {
// Required methods
fn create_register_dec(
owner: ObjectId,
docker_gateway_ip: String,
dec_list: HashMap<String, DecIpInfo>,
) -> Self;
fn create_unregister_dec(
owner: ObjectId,
dec_list: HashMap<String, String>,
) -> Self;
fn create_modify_acl(
owner: ObjectId,
dec_list: HashMap<String, DecAclInfo>,
) -> Self;
fn action(&self) -> &AppManagerActionEnum;
}Required Methods§
fn create_register_dec( owner: ObjectId, docker_gateway_ip: String, dec_list: HashMap<String, DecIpInfo>, ) -> Self
fn create_unregister_dec( owner: ObjectId, dec_list: HashMap<String, String>, ) -> Self
fn create_modify_acl( owner: ObjectId, dec_list: HashMap<String, DecAclInfo>, ) -> Self
fn action(&self) -> &AppManagerActionEnum
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.