pub trait DestinationIdentityRetentionControl {
// Required methods
fn mark_destination_used(
&self,
destination: DestinationHash,
) -> impl Future<Output = Result<MarkDestinationUsedOutcome, DestinationIdentityRetentionControlError>> + Send;
fn retain_destination(
&self,
destination: DestinationHash,
) -> impl Future<Output = Result<RetainDestinationOutcome, DestinationIdentityRetentionControlError>> + Send;
fn release_destination(
&self,
destination: DestinationHash,
) -> impl Future<Output = Result<ReleaseDestinationOutcome, DestinationIdentityRetentionControlError>> + Send;
fn retain_identity(
&self,
identity: IdentityHash,
) -> impl Future<Output = Result<RetainIdentityOutcome, DestinationIdentityRetentionControlError>> + Send;
}Required Methods§
fn mark_destination_used( &self, destination: DestinationHash, ) -> impl Future<Output = Result<MarkDestinationUsedOutcome, DestinationIdentityRetentionControlError>> + Send
fn retain_destination( &self, destination: DestinationHash, ) -> impl Future<Output = Result<RetainDestinationOutcome, DestinationIdentityRetentionControlError>> + Send
fn release_destination( &self, destination: DestinationHash, ) -> impl Future<Output = Result<ReleaseDestinationOutcome, DestinationIdentityRetentionControlError>> + Send
fn retain_identity( &self, identity: IdentityHash, ) -> impl Future<Output = Result<RetainIdentityOutcome, DestinationIdentityRetentionControlError>> + Send
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".