Struct indy::utils::callbacks::ClosureHandler
source · pub struct ClosureHandler {}
Implementations
sourceimpl ClosureHandler
impl ClosureHandler
pub fn cb_ec() -> (Receiver<ErrorCode>, IndyHandle, Option<ResponseEmptyCB>)
pub fn convert_cb_ec(
closure: Box<dyn FnMut(ErrorCode) + Send>
) -> (IndyHandle, Option<ResponseEmptyCB>)
pub fn cb_ec_i32(
) -> (Receiver<(ErrorCode, IndyHandle)>, IndyHandle, Option<ResponseI32CB>)
pub fn convert_cb_ec_i32(
closure: Box<dyn FnMut(ErrorCode, IndyHandle) + Send>
) -> (IndyHandle, Option<ResponseI32CB>)
pub fn cb_ec_i32_usize(
) -> (Receiver<(ErrorCode, IndyHandle, usize)>, IndyHandle, Option<ResponseI32UsizeCB>)
pub fn convert_cb_ec_i32_usize(
closure: Box<dyn FnMut(ErrorCode, IndyHandle, usize) + Send>
) -> (IndyHandle, Option<ResponseI32UsizeCB>)
pub fn cb_ec_string(
) -> (Receiver<(ErrorCode, String)>, IndyHandle, Option<ResponseStringCB>)
pub fn convert_cb_ec_string(
closure: Box<dyn FnMut(ErrorCode, String) + Send>
) -> (IndyHandle, Option<ResponseStringCB>)
pub fn cb_ec_string_string(
) -> (Receiver<(ErrorCode, String, String)>, IndyHandle, Option<ResponseStringStringCB>)
pub fn convert_cb_ec_string_string(
closure: Box<dyn FnMut(ErrorCode, String, String) + Send>
) -> (IndyHandle, Option<ResponseStringStringCB>)
pub fn cb_ec_string_opt_string(
) -> (Receiver<(ErrorCode, String, Option<String>)>, IndyHandle, Option<ResponseStringStringCB>)
pub fn convert_cb_ec_string_opt_string(
closure: Box<dyn FnMut(ErrorCode, String, Option<String>) + Send>
) -> (IndyHandle, Option<ResponseStringStringCB>)
pub fn cb_ec_string_string_string(
) -> (Receiver<(ErrorCode, String, String, String)>, IndyHandle, Option<ResponseStringStringStringCB>)
pub fn convert_cb_ec_string_string_string(
closure: Box<dyn FnMut(ErrorCode, String, String, String) + Send>
) -> (IndyHandle, Option<ResponseStringStringStringCB>)
pub fn cb_ec_string_opt_string_opt_string(
) -> (Receiver<(ErrorCode, String, Option<String>, Option<String>)>, IndyHandle, Option<ResponseStringStringStringCB>)
pub fn convert_cb_ec_string_opt_string_opt_string(
closure: Box<dyn FnMut(ErrorCode, String, Option<String>, Option<String>) + Send>
) -> (IndyHandle, Option<ResponseStringStringStringCB>)
pub fn cb_ec_string_string_u64(
) -> (Receiver<(ErrorCode, String, String, u64)>, IndyHandle, Option<ResponseStringStringU64CB>)
pub fn convert_cb_ec_string_string_u64(
closure: Box<dyn FnMut(ErrorCode, String, String, u64) + Send>
) -> (IndyHandle, Option<ResponseStringStringU64CB>)
pub fn cb_ec_slice(
) -> (Receiver<(ErrorCode, Vec<u8>)>, IndyHandle, Option<ResponseSliceCB>)
pub fn convert_cb_ec_slice(
closure: Box<dyn FnMut(ErrorCode, Vec<u8>) + Send>
) -> (IndyHandle, Option<ResponseSliceCB>)
pub fn cb_ec_string_slice(
) -> (Receiver<(ErrorCode, String, Vec<u8>)>, IndyHandle, Option<ResponseStringSliceCB>)
pub fn convert_cb_ec_string_slice(
closure: Box<dyn FnMut(ErrorCode, String, Vec<u8>) + Send>
) -> (IndyHandle, Option<ResponseStringSliceCB>)
pub fn cb_ec_bool(
) -> (Receiver<(ErrorCode, bool)>, IndyHandle, Option<ResponseBoolCB>)
pub fn convert_cb_ec_bool(
closure: Box<dyn FnMut(ErrorCode, bool) + Send>
) -> (IndyHandle, Option<ResponseBoolCB>)
Auto Trait Implementations
impl RefUnwindSafe for ClosureHandler
impl Send for ClosureHandler
impl Sync for ClosureHandler
impl Unpin for ClosureHandler
impl UnwindSafe for ClosureHandler
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more