pub struct CoreEnvoyHandle { /* private fields */ }Implementations§
Source§impl CoreEnvoyHandle
impl CoreEnvoyHandle
pub fn status(&self) -> CoreEnvoyStatus
Sourcepub async fn started(&self) -> Result<()>
pub async fn started(&self) -> Result<()>
Resolves after the Engine sends the envoy initialization message.
Sourcepub async fn wait_actors_drained(&self)
pub async fn wait_actors_drained(&self)
Resolves once the envoy has no active actors (or has stopped).
Sourcepub async fn actor_stop_threshold_ms(&self) -> Option<i64>
pub async fn actor_stop_threshold_ms(&self) -> Option<i64>
Engine-reported drain threshold in milliseconds. None until the
envoy has completed its first protocol-metadata exchange with the
engine.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for CoreEnvoyHandle
impl !UnwindSafe for CoreEnvoyHandle
impl Freeze for CoreEnvoyHandle
impl Send for CoreEnvoyHandle
impl Sync for CoreEnvoyHandle
impl Unpin for CoreEnvoyHandle
impl UnsafeUnpin for CoreEnvoyHandle
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
Source§fn with_current_context(self) -> WithContext<Self> ⓘ
fn with_current_context(self) -> WithContext<Self> ⓘ
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request