pub trait SubAccessFnT<'a>: FnOnce(&'a mut OnChainIdentity, ControllerToken) -> Self::Future {
type Future: Future<Output = Result<Self::IntoTx, Self::Error>> + OptionalSend + 'a;
type IntoTx: IntoTransaction<Tx = Self::Tx>;
type Tx: Transaction + 'a;
type Error: Into<Box<dyn Error + Sync + Send>>;
}Expand description
Trait describing the function used to define what operation to perform on a sub-identity.
Required Associated Types§
Sourcetype Future: Future<Output = Result<Self::IntoTx, Self::Error>> + OptionalSend + 'a
type Future: Future<Output = Result<Self::IntoTx, Self::Error>> + OptionalSend + 'a
The Future type returned by the closure.