pub struct GateAsk {
pub answer: BoxFuture<'static, GateAnswer>,
pub timeout: Duration,
}Expand description
A question a gate asked, and how long the call waits for its answer.
Fields§
§answer: BoxFuture<'static, GateAnswer>Resolves to the answer, such as a oneshot the host completes.
timeout: DurationA call left unanswered this long is refused.
Auto Trait Implementations§
impl !RefUnwindSafe for GateAsk
impl !Sync for GateAsk
impl !UnwindSafe for GateAsk
impl Freeze for GateAsk
impl Send for GateAsk
impl Unpin for GateAsk
impl UnsafeUnpin for GateAsk
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