Skip to main content

harmos_sdk/operations/
mod.rs

1/* ***
2 *
3 * Harmos
4 *
5 * SPDX-License-Identifier: Apache-2.0
6 *
7 * ***
8 */
9
10/* === Modules === */
11
12mod authored;
13mod catalog;
14pub mod instance;
15pub mod lifecycle;
16pub(crate) mod response;
17mod serving;
18
19#[cfg(feature = "streaming")]
20pub mod streaming;
21mod surface;
22
23/* === Re-Exports === */
24
25pub use authored::{EndpointSet, InputEndpoint, Operation, OutputEndpoint};
26pub use catalog::{AuthoredContracts, AuthoredDeclarations};
27pub use harmos_domain::operations::*;
28pub use instance::Instance;
29pub use response::Response;
30pub use serving::{
31    CHILD_METHOD, Serves, ServingError, WIRE_METHOD, WireAnswer, WireBinding, WireChild, WireChildAction, WireChildCall, WireChildControl,
32    WireCodecError, WireCommand, WireTable, decode_prepared_grant, encode_prepared_grant,
33};
34
35#[cfg(feature = "streaming")]
36pub use serving::{WireEndpoints, WireStreamLimits, WireStreams};
37
38#[cfg(feature = "streaming")]
39pub use streaming::{StreamInput, StreamItem, StreamOutput, StreamPermit, StreamSettings, stream};
40pub use surface::Host;
41
42/* === Imports === */
43
44// Standard Library Imports
45
46// Third Party Imports
47
48// Local Imports
49
50/* === Constants === */
51
52/* === Macros === */
53
54/* === Type Aliases === */
55
56/* === Structs === */
57
58/* === Enums === */
59
60/* === Traits === */
61
62/* === Implementations === */
63
64/* === Public Functions === */
65
66/* === Private Functions === */
67
68/* === Tests === */