pub trait CanQueryProposalStatus:
HasProposalIdType
+ HasProposalStatusType
+ HasErrorType {
// Required method
fn query_proposal_status(
&self,
proposal_id: &Self::ProposalId,
) -> impl Future<Output = Result<Self::ProposalStatus, Self::Error>> + Send;
}
Required Methods§
fn query_proposal_status( &self, proposal_id: &Self::ProposalId, ) -> impl Future<Output = Result<Self::ProposalStatus, Self::Error>> + Send
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.