Expand description
Re-exports§
pub use core::error;pub use core::error::Error;pub use kanau;pub use tracing;pub use futures;pub use core::message::*;pub use core::processor::*;
Modules§
- core
- Core of Shizuku.
- flow
- Monadic flow control.
- jetstream
- JetStream support.
- kv
- Key/Value Store support.
- layer
- Something that wraps around a processor.
- prelude
- reexports of essentials
- processor
- Async closure
Fn(I) -> Future<Output = O>as a trait. - service_
rpc - Service RPC support. Using just NATS core features.
Macros§
- early_
return - early_return
- jet_
route - Define the jetstream route to build FinalJetStreamProcessor
- monad_
early_ return - monad_early_return
- protobuf_
des - Implement [ByteDeserialize] by
prostif it already implementsprost::Message. - protobuf_
ser - Implement [ByteSerialize] by
prostif it already implementsprost::Message. - service_
route - Routes NATS messages to appropriate service endpoints based on their subjects.
- subject_
matcher - Creates a
SubjectMatcherfrom a sequence of tokens. - subject_
path - Creates a
NatsSubjectPathfrom
Derive Macros§
- Bincode
Byte Des - Implement ByteDeserialize by
bincodeif it already implementsbincode::Decode. - Bincode
Byte Ser - Implement ByteSerialize by
bincodeif it already implementsbincode::Encode. - Json
Byte Des - Implement ByteDeserialize by
serde_jsonif it already implementsserde::Deserialize. - Json
Byte Ser - Implement ByteSerialize by
serde_jsonif it already implementsserde::Serialize. - Proto
Des - Implement ByteDeserialize by
prostif it already implementsprost::Message. - Proto
Ser - Implement ByteSerialize by
prostif it already implementsprost::Message.