Struct InterCall
pub struct InterCall(/* private fields */);Expand description
Used by the callee to end the call with a result.
Implementations§
§impl InterCall
impl InterCall
pub fn new() -> (Self, Receiver<Vec<u8>>)
pub fn is_pending(&self) -> bool
pub fn is_pending(&self) -> bool
Returns true when this call was created for an inter-lyquid call and still has a
waiting caller.
pub fn set_result(&mut self, data: Vec<u8>)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for InterCall
impl !RefUnwindSafe for InterCall
impl Send for InterCall
impl Sync for InterCall
impl Unpin for InterCall
impl !UnwindSafe for InterCall
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