pub struct TransportRuntime<C>{ /* private fields */ }Expand description
Per-binding state whose activation gate commits startup, not call cancellation.
Implementations§
Source§impl<C: Send + Sync + 'static> TransportRuntime<C>
impl<C: Send + Sync + 'static> TransportRuntime<C>
Sourcepub fn exposures(&self) -> &[TransportExposure]
pub fn exposures(&self) -> &[TransportExposure]
Returns exposures in builder-call order.
Sourcepub fn tracker(&self) -> &TransportTaskTracker
pub fn tracker(&self) -> &TransportTaskTracker
Returns the composition-owned tracker shared by all bindings.
Sourcepub fn is_active(&self) -> bool
pub fn is_active(&self) -> bool
Returns whether startup has committed and traffic may be admitted.
Sourcepub async fn wait_until_active(&self)
pub async fn wait_until_active(&self)
Waits until startup commits and traffic may be admitted.
Trait Implementations§
Auto Trait Implementations§
impl<C> !RefUnwindSafe for TransportRuntime<C>
impl<C> !UnwindSafe for TransportRuntime<C>
impl<C> Freeze for TransportRuntime<C>
impl<C> Send for TransportRuntime<C>
impl<C> Sync for TransportRuntime<C>
impl<C> Unpin for TransportRuntime<C>
impl<C> UnsafeUnpin for TransportRuntime<C>
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