pub enum AdmissionState {
Pending,
Admitted,
Failed,
}Expand description
Synchronously observable state of a SendAdmission.
Variants§
Pending
The frame is queued in the gate and has not been enqueued yet.
Admitted
The frame has been enqueued on the transport’s send channel.
Failed
The frame will never be enqueued; see the admission’s error.
Trait Implementations§
Source§impl Clone for AdmissionState
impl Clone for AdmissionState
Source§fn clone(&self) -> AdmissionState
fn clone(&self) -> AdmissionState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AdmissionState
Source§impl Debug for AdmissionState
impl Debug for AdmissionState
impl Eq for AdmissionState
Source§impl Hash for AdmissionState
impl Hash for AdmissionState
Source§impl PartialEq for AdmissionState
impl PartialEq for AdmissionState
impl StructuralPartialEq for AdmissionState
Auto Trait Implementations§
impl Freeze for AdmissionState
impl RefUnwindSafe for AdmissionState
impl Send for AdmissionState
impl Sync for AdmissionState
impl Unpin for AdmissionState
impl UnsafeUnpin for AdmissionState
impl UnwindSafe for AdmissionState
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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