Struct GatewaySupervision
pub struct GatewaySupervision { /* private fields */ }Expand description
Daemon-owned services whose lifecycle matches one supervised gateway run.
Implementations§
Source§impl GatewaySupervision
impl GatewaySupervision
Sourcepub fn new(
readiness: Option<GatewayReadinessReporter>,
plugin_webhooks: Arc<PluginWebhookRegistry>,
authority: LiveConfigAuthority,
sop_driver_handles: Option<Arc<Mutex<SopDriverRegistry>>>,
) -> GatewaySupervision
pub fn new( readiness: Option<GatewayReadinessReporter>, plugin_webhooks: Arc<PluginWebhookRegistry>, authority: LiveConfigAuthority, sop_driver_handles: Option<Arc<Mutex<SopDriverRegistry>>>, ) -> GatewaySupervision
Pair startup readiness with the channel supervisor’s route generation.
Auto Trait Implementations§
impl !RefUnwindSafe for GatewaySupervision
impl !UnwindSafe for GatewaySupervision
impl Freeze for GatewaySupervision
impl Send for GatewaySupervision
impl Sync for GatewaySupervision
impl Unpin for GatewaySupervision
impl UnsafeUnpin for GatewaySupervision
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> 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