pub enum RuntimeResponse {
Promise(PromiseId),
Channel(ChannelId),
ResourceGate(ResourceGateHandle),
Value(Value),
Cancelled(bool),
Settlement(Option<Rc<TaskSettlement>>),
Settlements(Vec<Rc<TaskSettlement>>),
Receive(ChannelReceive),
Send(ChannelSend),
}Variants§
Promise(PromiseId)
Channel(ChannelId)
ResourceGate(ResourceGateHandle)
Value(Value)
Cancelled(bool)
Settlement(Option<Rc<TaskSettlement>>)
Settlements(Vec<Rc<TaskSettlement>>)
Receive(ChannelReceive)
Send(ChannelSend)
Trait Implementations§
Source§impl Clone for RuntimeResponse
impl Clone for RuntimeResponse
Source§fn clone(&self) -> RuntimeResponse
fn clone(&self) -> RuntimeResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RuntimeResponse
impl Debug for RuntimeResponse
Auto Trait Implementations§
impl !RefUnwindSafe for RuntimeResponse
impl !Send for RuntimeResponse
impl !Sync for RuntimeResponse
impl !UnwindSafe for RuntimeResponse
impl Freeze for RuntimeResponse
impl Unpin for RuntimeResponse
impl UnsafeUnpin for RuntimeResponse
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