Expand description
Service definition
Traits to define the behaviour of messages for services
Re-exports§
pub use crate::pattern::bidi_streaming::BidiStreaming;
pub use crate::pattern::bidi_streaming::BidiStreamingMsg;
pub use crate::pattern::client_streaming::ClientStreaming;
pub use crate::pattern::client_streaming::ClientStreamingMsg;
pub use crate::pattern::rpc::Rpc;
pub use crate::pattern::rpc::RpcMsg;
pub use crate::pattern::server_streaming::ServerStreaming;
pub use crate::pattern::server_streaming::ServerStreamingMsg;
Traits§
- Trait defining interaction pattern.
- Declares the interaction pattern for a message and a service.