#[path = "connection/apply.rs"]
mod apply;
#[path = "connection/channel_registry.rs"]
pub mod channel_registry;
#[path = "connection/conversation.rs"]
mod conversation;
#[path = "connection/delivery.rs"]
mod delivery;
#[path = "connection/incarnation.rs"]
mod incarnation;
#[cfg(test)]
#[path = "connection/incarnation_tests.rs"]
mod incarnation_tests;
mod lifecycle_route;
mod link_route;
#[path = "connection/loopback.rs"]
mod loopback;
#[path = "connection/notifier.rs"]
pub mod notifier;
#[path = "connection/outbound.rs"]
mod outbound;
#[path = "connection/participant_delivery.rs"]
mod participant_delivery;
#[cfg(test)]
#[path = "connection/participant_runtime_tests.rs"]
mod participant_runtime_tests;
#[path = "connection/pending_reply.rs"]
mod pending_reply;
#[path = "connection/pre_admission.rs"]
pub(crate) mod pre_admission;
#[path = "connection/process.rs"]
mod process;
#[path = "connection/reclaim_placement.rs"]
pub(crate) mod reclaim_placement;
#[cfg(test)]
#[path = "connection/reclaim_placement_tests.rs"]
mod reclaim_placement_tests;
#[path = "connection/refusal.rs"]
pub(crate) mod refusal;
#[cfg(test)]
#[path = "connection/refusal_tests.rs"]
mod refusal_tests;
#[path = "connection/service_directory.rs"]
mod service_directory;
mod service_route;
#[path = "connection/services.rs"]
pub mod services;
#[cfg(test)]
#[path = "connection/services_a1_dedup_tests.rs"]
mod services_a1_dedup_tests;
#[cfg(test)]
#[path = "connection/services_adopt_config_tests.rs"]
mod services_adopt_config_tests;
#[path = "connection/services_cluster.rs"]
mod services_cluster;
#[cfg(test)]
#[path = "connection/services_r5_tests.rs"]
mod services_r5_tests;
#[path = "connection/services_schema.rs"]
mod services_schema;
#[cfg(test)]
#[path = "connection/services_unresolved_restart_tests.rs"]
mod services_unresolved_restart_tests;
#[cfg(test)]
#[path = "connection/services_unresolved_tests.rs"]
mod services_unresolved_tests;
#[path = "connection/state.rs"]
mod state;
#[path = "connection/supervisor.rs"]
mod supervisor;
#[cfg(test)]
#[path = "connection/tests_no_path_refusal.rs"]
mod tests_no_path_refusal;
#[path = "connection/wake.rs"]
pub(crate) mod wake;
#[path = "connection/websocket.rs"]
pub(crate) mod websocket;
#[path = "connection/worker_front_door.rs"]
mod worker_front_door;
#[path = "connection/worker_route.rs"]
mod worker_route;
pub use channel_registry::{
CONSOLE_NAMESPACE_PREFIX, CONSOLE_TAP_PREFIX, ChannelAccessError, ChannelConfigField,
ChannelDescriptor, ChannelOrigin, ChannelRegistration, ChannelRegistryError, ChannelState,
ChannelStatus, MAX_CHANNELS_KEY, Registered, console_tap_target, is_console_subject,
};
pub use conversation::{ConnectionConversation, ConversationResource};
pub use loopback::{LoopbackClientEnd, LoopbackDuplex};
pub use notifier::{CheckpointCrossing, ConnectionNotifier, CrossingBinding, CrossingRecipient};
#[cfg(test)]
pub(crate) const fn assert_held_heads_are_move_only() {
macro_rules! assert_not_impl {
($type:ty: $trait:path) => {
const _: fn() = || {
struct Probe<T: ?Sized>(core::marker::PhantomData<T>);
trait AmbiguousIfImplemented<A> {
fn probe() {}
}
impl<T: ?Sized> AmbiguousIfImplemented<()> for Probe<T> {}
impl<T: ?Sized + $trait> AmbiguousIfImplemented<u8> for Probe<T> {}
let _ = <Probe<$type> as AmbiguousIfImplemented<_>>::probe;
};
};
}
assert_not_impl!(participant_delivery::HeldParticipantHead: Clone);
assert_not_impl!(participant_delivery::HeldParticipantHead: Copy);
assert_not_impl!(participant_delivery::HeldObserverHead: Clone);
assert_not_impl!(participant_delivery::HeldObserverHead: Copy);
}
pub use services::{
ChannelCluster, ChannelOperation, ConnectionServices, ConnectionSubscription,
LiminalConnectionServices, PublishOutcome, build_connection_services,
};
pub use supervisor::start_context_watch;
pub use supervisor::{
ConnectionHandle, ConnectionSupervisor, ConnectionSupervisorBuilder, PushReplyAwaiter,
};
pub(crate) use supervisor::{LysInstall, configured_lys, lys_ask_runtime};
pub(crate) use wake::ReadyWaker;
pub use websocket::WebSocketListener;
pub use worker_front_door::WorkerFrontDoorServices;