Trait penumbra_proto::penumbra::tools::summoning::v1::ceremony_coordinator_service_server::CeremonyCoordinatorService
source · pub trait CeremonyCoordinatorService: Send + Sync + 'static {
type ParticipateStream: Stream<Item = Result<ParticipateResponse, Status>> + Send + 'static;
// Required method
fn participate<'life0, 'async_trait>(
&'life0 self,
request: Request<Streaming<ParticipateRequest>>
) -> Pin<Box<dyn Future<Output = Result<Response<Self::ParticipateStream>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}
Available on crate feature
rpc
only.Expand description
Generated trait containing gRPC methods that should be implemented for use with CeremonyCoordinatorServiceServer.
Required Associated Types§
sourcetype ParticipateStream: Stream<Item = Result<ParticipateResponse, Status>> + Send + 'static
type ParticipateStream: Stream<Item = Result<ParticipateResponse, Status>> + Send + 'static
Server streaming response type for the Participate method.
Required Methods§
sourcefn participate<'life0, 'async_trait>(
&'life0 self,
request: Request<Streaming<ParticipateRequest>>
) -> Pin<Box<dyn Future<Output = Result<Response<Self::ParticipateStream>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn participate<'life0, 'async_trait>(
&'life0 self,
request: Request<Streaming<ParticipateRequest>>
) -> Pin<Box<dyn Future<Output = Result<Response<Self::ParticipateStream>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
The protocol used to participate in the ceremony.
The message flow is
Client Server
Identify ===========>
<=========== Position (repeated)
<=========== ContributeNow
Contribution ===========>
<=========== Confirm