pub struct ConditionCombination { /* private fields */ }Expand description
Groups conditions that must all succeed as one branch of Wait::any_combination_of.
Implementations§
Source§impl ConditionCombination
impl ConditionCombination
Sourcepub fn all_of(conditions: impl IntoIterator<Item = Condition>) -> Self
pub fn all_of(conditions: impl IntoIterator<Item = Condition>) -> Self
Creates a branch satisfied only when all conditions are satisfied.
Auto Trait Implementations§
impl !RefUnwindSafe for ConditionCombination
impl !UnwindSafe for ConditionCombination
impl Freeze for ConditionCombination
impl Send for ConditionCombination
impl Sync for ConditionCombination
impl Unpin for ConditionCombination
impl UnsafeUnpin for ConditionCombination
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> 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