pub struct WaitForAttributeOptions { /* private fields */ }Expand description
Configures one durable Attribute match wait.
The Server does not read the request ID for this wait.
request_timeout bounds the SDK call across transport reattachments.
Implementations§
Source§impl WaitForAttributeOptions
impl WaitForAttributeOptions
Sourcepub fn request_id(self, request_id: impl Into<String>) -> Self
pub fn request_id(self, request_id: impl Into<String>) -> Self
Sets an optional request ID; the Server does not read it.
Sourcepub fn request_timeout(self, request_timeout: Duration) -> Self
pub fn request_timeout(self, request_timeout: Duration) -> Self
Sets the total SDK call budget. Zero waits indefinitely.
Trait Implementations§
Source§impl Clone for WaitForAttributeOptions
impl Clone for WaitForAttributeOptions
Source§impl Debug for WaitForAttributeOptions
impl Debug for WaitForAttributeOptions
Auto Trait Implementations§
impl Forget for WaitForAttributeOptions
impl Freeze for WaitForAttributeOptions
impl Move for WaitForAttributeOptions
impl RefUnwindSafe for WaitForAttributeOptions
impl Send for WaitForAttributeOptions
impl Sync for WaitForAttributeOptions
impl Unpin for WaitForAttributeOptions
impl UnsafeUnpin for WaitForAttributeOptions
impl UnwindSafe for WaitForAttributeOptions
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<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