pub trait Delete: Sync + Send {
// Required methods
fn delete_config_item_gateway(
&self,
gateway_name: &str,
) -> impl Future<Output = Result<(), Box<dyn Error + Send + Sync>>> + Send;
fn delete_config_item_route(
&self,
gateway_name: &str,
route_name: &str,
) -> impl Future<Output = Result<(), Box<dyn Error + Send + Sync>>> + Send;
fn delete_plugin(
&self,
id: &PluginInstanceId,
) -> impl Future<Output = Result<(), Box<dyn Error + Send + Sync>>> + Send;
// Provided methods
fn delete_config_item_all_routes(
&self,
gateway_name: &str,
) -> impl Future<Output = Result<(), Box<dyn Error + Send + Sync>>> + Send
where Self: Retrieve { ... }
fn delete_config_item(
&self,
name: &str,
) -> impl Future<Output = Result<(), Box<dyn Error + Send + Sync>>> + Send
where Self: Retrieve { ... }
}Required Methods§
fn delete_config_item_gateway( &self, gateway_name: &str, ) -> impl Future<Output = Result<(), Box<dyn Error + Send + Sync>>> + Send
fn delete_config_item_route( &self, gateway_name: &str, route_name: &str, ) -> impl Future<Output = Result<(), Box<dyn Error + Send + Sync>>> + Send
fn delete_plugin( &self, id: &PluginInstanceId, ) -> impl Future<Output = Result<(), Box<dyn Error + Send + Sync>>> + Send
Provided Methods§
fn delete_config_item_all_routes(
&self,
gateway_name: &str,
) -> impl Future<Output = Result<(), Box<dyn Error + Send + Sync>>> + Sendwhere
Self: Retrieve,
fn delete_config_item(
&self,
name: &str,
) -> impl Future<Output = Result<(), Box<dyn Error + Send + Sync>>> + Sendwhere
Self: Retrieve,
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.