pub struct DispatchCallResult {
pub promise: Promise<(), Error>,
pub is_streaming: bool,
}Expand description
The return value of Server::dispatch_call().
Fields§
§promise: Promise<(), Error>Promise for completion of the call.
is_streaming: boolIf true, this method was declared as -> stream;. If this call throws
an exception, then all future calls on the capability will throw the
same exception.
Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for DispatchCallResult
impl !Send for DispatchCallResult
impl !Sync for DispatchCallResult
impl !UnwindSafe for DispatchCallResult
impl Freeze for DispatchCallResult
impl Unpin for DispatchCallResult
impl UnsafeUnpin for DispatchCallResult
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