pub enum PromiseCallReply<'root, 'ctx> {
Resolved(CallResult<'root>),
Future(FutureCallReply<'ctx>),
}
Variants§
Resolved(CallResult<'root>)
Future(FutureCallReply<'ctx>)
Trait Implementations§
Source§impl<'ctx> From<PromiseCallReply<'static, 'ctx>> for CallResult<'static>
impl<'ctx> From<PromiseCallReply<'static, 'ctx>> for CallResult<'static>
Source§fn from(value: PromiseCallReply<'static, 'ctx>) -> Self
fn from(value: PromiseCallReply<'static, 'ctx>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'root, 'ctx> Freeze for PromiseCallReply<'root, 'ctx>
impl<'root, 'ctx> RefUnwindSafe for PromiseCallReply<'root, 'ctx>
impl<'root, 'ctx> !Send for PromiseCallReply<'root, 'ctx>
impl<'root, 'ctx> !Sync for PromiseCallReply<'root, 'ctx>
impl<'root, 'ctx> Unpin for PromiseCallReply<'root, 'ctx>
impl<'root, 'ctx> UnwindSafe for PromiseCallReply<'root, 'ctx>
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