pub struct RunningNode {
pub deploy: DeployStore,
pub handlers: HandlerRuntime,
pub auth: Auth,
pub options: ServerOptions,
pub reconcile: Vec<JoinHandle<()>>,
}Expand description
A fully wired node: the deploy store, handler runtime, auth, and options a
transport consumes, plus the detached reconcile loops kept alive for the
node’s serving life. Destructure it and hold reconcile across the serve
await so the loops outlive assembly.
Fields§
§deploy: DeployStoreThe deploy store (blob + KV) the router serves from.
handlers: HandlerRuntimeThe handler runtime for wasm handlers (a disabled build ⇒ a no-op runtime).
auth: AuthThe control-plane auth.
options: ServerOptionsThe resolved server options.
reconcile: Vec<JoinHandle<()>>The detached reconcile loops (compute + domain-verify). Tokio JoinHandles
do not abort on drop, so the loops run for the process life regardless; the
handles are retained so an embedder can join/abort them on shutdown.
Auto Trait Implementations§
impl !RefUnwindSafe for RunningNode
impl !UnwindSafe for RunningNode
impl Freeze for RunningNode
impl Send for RunningNode
impl Sync for RunningNode
impl Unpin for RunningNode
impl UnsafeUnpin for RunningNode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more