pub struct QueryPolicy {
pub timeout: Duration,
pub output_limit: u64,
pub cancellation_grace: Duration,
}Expand description
A caller selects finite limits for its concrete response, without changing other operations.
Fields§
§timeout: Duration§output_limit: u64§cancellation_grace: DurationTrait Implementations§
Auto Trait Implementations§
impl Freeze for QueryPolicy
impl RefUnwindSafe for QueryPolicy
impl Send for QueryPolicy
impl Sync for QueryPolicy
impl Unpin for QueryPolicy
impl UnsafeUnpin for QueryPolicy
impl UnwindSafe for QueryPolicy
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