pub struct CompletionOptions {
pub client_grace: Duration,
pub stream: StreamOptions,
}Expand description
The knobs of a run-to-completion call.
Fields§
§client_grace: DurationAdded to the request’s timeout_sec to make the client deadline, and the budget of
the wait-and-ack after a kill.
stream: StreamOptionsHow the output stream behaves when a callback is given.
Trait Implementations§
Source§impl Clone for CompletionOptions
impl Clone for CompletionOptions
Source§impl Debug for CompletionOptions
impl Debug for CompletionOptions
Auto Trait Implementations§
impl Freeze for CompletionOptions
impl RefUnwindSafe for CompletionOptions
impl Send for CompletionOptions
impl Sync for CompletionOptions
impl Unpin for CompletionOptions
impl UnsafeUnpin for CompletionOptions
impl UnwindSafe for CompletionOptions
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