pub struct CallResult { /* private fields */ }Expand description
CallResult (api)
Public, stable result wrapper.
Implementations§
Source§impl CallResult
impl CallResult
pub fn candid<R>(&self) -> Result<R, PublicError>where
R: CandidType + DeserializeOwned,
pub fn candid_tuple<R>(&self) -> Result<R, PublicError>where
R: for<'de> ArgumentDecoder<'de>,
Auto Trait Implementations§
impl Freeze for CallResult
impl RefUnwindSafe for CallResult
impl Send for CallResult
impl Sync for CallResult
impl Unpin for CallResult
impl UnwindSafe for CallResult
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