pub struct EncryptResult { /* private fields */ }Expand description
Result type for the encrypt function
Implementations§
Source§impl EncryptResult
impl EncryptResult
Source§impl EncryptResult
impl EncryptResult
pub fn into_reference( val: EncryptResult, env: Env, ) -> Result<Reference<EncryptResult>>
pub fn into_instance(self, env: Env) -> Result<ClassInstance<EncryptResult>>
Source§impl EncryptResult
impl EncryptResult
Trait Implementations§
Source§impl FromNapiMutRef for EncryptResult
impl FromNapiMutRef for EncryptResult
Source§unsafe fn from_napi_mut_ref(
env: napi_env,
napi_val: napi_value,
) -> Result<&'static mut Self>
unsafe fn from_napi_mut_ref( env: napi_env, napi_val: napi_value, ) -> Result<&'static mut Self>
Safety Read more
Source§impl FromNapiRef for EncryptResult
impl FromNapiRef for EncryptResult
Source§unsafe fn from_napi_ref(
env: napi_env,
napi_val: napi_value,
) -> Result<&'static Self>
unsafe fn from_napi_ref( env: napi_env, napi_val: napi_value, ) -> Result<&'static Self>
Safety Read more
Source§impl FromNapiValue for &EncryptResult
impl FromNapiValue for &EncryptResult
Source§unsafe fn from_napi_value(env: napi_env, napi_val: napi_value) -> Result<Self>
unsafe fn from_napi_value(env: napi_env, napi_val: napi_value) -> Result<Self>
Safety Read more
fn from_unknown(value: JsUnknown) -> Result<Self, Error>
Source§impl FromNapiValue for &mut EncryptResult
impl FromNapiValue for &mut EncryptResult
Source§unsafe fn from_napi_value(env: napi_env, napi_val: napi_value) -> Result<Self>
unsafe fn from_napi_value(env: napi_env, napi_val: napi_value) -> Result<Self>
Safety Read more
fn from_unknown(value: JsUnknown) -> Result<Self, Error>
Source§impl ToNapiValue for EncryptResult
impl ToNapiValue for EncryptResult
Source§unsafe fn to_napi_value(env: napi_env, val: EncryptResult) -> Result<napi_value>
unsafe fn to_napi_value(env: napi_env, val: EncryptResult) -> Result<napi_value>
Safety Read more
Source§impl TypeName for &EncryptResult
impl TypeName for &EncryptResult
Source§impl TypeName for &mut EncryptResult
impl TypeName for &mut EncryptResult
Source§impl TypeName for EncryptResult
impl TypeName for EncryptResult
Source§impl ValidateNapiValue for &EncryptResult
impl ValidateNapiValue for &EncryptResult
Source§unsafe fn validate(env: napi_env, napi_val: napi_value) -> Result<napi_value>
unsafe fn validate(env: napi_env, napi_val: napi_value) -> Result<napi_value>
Safety Read more
Source§impl ValidateNapiValue for &mut EncryptResult
impl ValidateNapiValue for &mut EncryptResult
Source§unsafe fn validate(env: napi_env, napi_val: napi_value) -> Result<napi_value>
unsafe fn validate(env: napi_env, napi_val: napi_value) -> Result<napi_value>
Safety Read more
Auto Trait Implementations§
impl Freeze for EncryptResult
impl RefUnwindSafe for EncryptResult
impl Send for EncryptResult
impl Sync for EncryptResult
impl Unpin for EncryptResult
impl UnwindSafe for EncryptResult
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more