Skip to main content

Module schema

Module schema 

Source

Re-exports§

pub use event_stream::InitialResponsePolicy;
pub use protocol::collect_request_body;
pub use protocol::BodyDirective;
pub use protocol::BodyRoutedProtocol;
pub use protocol::EventStreamFraming;
pub use protocol::MetadataRoutedProtocol;
pub use protocol::ProtocolBuildContext;
pub use protocol::ProtocolFactory;
pub use protocol::ProtocolOrder;
pub use protocol::ProtocolRegistration;
pub use protocol::ProtocolRegistry;
pub use protocol::RequestBodyCollectionError;
pub use protocol::ServerProtocol;
pub use protocol::SharedServerProtocol;

Modules§

event_stream
Schema-driven event stream marshalling and unmarshalling.
protocol
Schema-driven ServerProtocol implementations and protocol registration.
routing
Runtime construction and dispatch for the schema protocols a service declares.
settings
Typed access to global and protocol settings.
traits
Typed HTTP trait values stored in a schema’s generic trait map.

Structs§

OperationSchema
Runtime descriptor for a Smithy operation shape.
SelectedOperation
A read-only view of the protocol and operation selected by routing, with the operation’s request-body limits.
ServiceSchema
Runtime descriptor for a Smithy service shape.

Enums§

DeserializeError
Why a request failed without reaching its operation handler.

Traits§

DeserializableShape
An operation input that can be read from a [ShapeDeserializer].
HttpModeledError
A modeled error that a ServerProtocol can turn into an HTTP response.