Expand description
Prelude contains all the useful imports you need to get started with Restate.
Re-exportsยง
pub use crate::http_server::HttpServer;
pub use crate::context::CallFuture;
pub use crate::context::Context;
pub use crate::context::ContextAwakeables;
pub use crate::context::ContextClient;
pub use crate::context::ContextPromises;
pub use crate::context::ContextReadState;
pub use crate::context::ContextSideEffects;
pub use crate::context::ContextTimers;
pub use crate::context::ContextWriteState;
pub use crate::context::HeaderMap;
pub use crate::context::InvocationHandle;
pub use crate::context::ObjectContext;
pub use crate::context::Request;
pub use crate::context::RunFuture;
pub use crate::context::RunRetryPolicy;
pub use crate::context::WorkflowContext;
pub use crate::endpoint::Endpoint;
pub use crate::endpoint::HandlerOptions;
pub use crate::endpoint::ServiceOptions;
pub use crate::errors::HandlerError;
pub use crate::errors::HandlerResult;
pub use crate::errors::TerminalError;
pub use crate::serde::Json;