pub struct UniFfiTraitVtableEncryptorDecryptor {
pub uniffi_free: extern "C" fn(handle: u64),
pub uniffi_clone: extern "C" fn(handle: u64) -> u64,
pub decrypt: extern "C" fn(uniffi_handle: u64, ciphertext: <Vec<u8> as Lift<UniFfiTag>>::FfiType, uniffi_out_return: &mut <Result<Vec<u8>, LoginsApiError> as LiftReturn<UniFfiTag>>::ReturnType, uniffi_out_call_status: &mut RustCallStatus),
pub encrypt: extern "C" fn(uniffi_handle: u64, cleartext: <Vec<u8> as Lift<UniFfiTag>>::FfiType, uniffi_out_return: &mut <Result<Vec<u8>, LoginsApiError> as LiftReturn<UniFfiTag>>::ReturnType, uniffi_out_call_status: &mut RustCallStatus),
}Fields§
§uniffi_free: extern "C" fn(handle: u64)§uniffi_clone: extern "C" fn(handle: u64) -> u64§decrypt: extern "C" fn(uniffi_handle: u64, ciphertext: <Vec<u8> as Lift<UniFfiTag>>::FfiType, uniffi_out_return: &mut <Result<Vec<u8>, LoginsApiError> as LiftReturn<UniFfiTag>>::ReturnType, uniffi_out_call_status: &mut RustCallStatus)§encrypt: extern "C" fn(uniffi_handle: u64, cleartext: <Vec<u8> as Lift<UniFfiTag>>::FfiType, uniffi_out_return: &mut <Result<Vec<u8>, LoginsApiError> as LiftReturn<UniFfiTag>>::ReturnType, uniffi_out_call_status: &mut RustCallStatus)Auto Trait Implementations§
impl Freeze for UniFfiTraitVtableEncryptorDecryptor
impl RefUnwindSafe for UniFfiTraitVtableEncryptorDecryptor
impl Send for UniFfiTraitVtableEncryptorDecryptor
impl Sync for UniFfiTraitVtableEncryptorDecryptor
impl Unpin for UniFfiTraitVtableEncryptorDecryptor
impl UnwindSafe for UniFfiTraitVtableEncryptorDecryptor
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
§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
Create a new handle for an Arc value Read more
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
Clone a handle Read more
§unsafe fn consume_handle(handle: Handle) -> Arc<T>
unsafe fn consume_handle(handle: Handle) -> Arc<T>
Consume a handle, getting back the initial
Arc<> Read more