pub struct EncryptFromFileResult { /* private fields */ }Expand description
Result type for the encrypt_from_file function
Implementations§
Source§impl EncryptFromFileResult
impl EncryptFromFileResult
pub fn into_reference( val: EncryptFromFileResult, env: Env, ) -> Result<Reference<EncryptFromFileResult>>
pub fn into_instance( self, env: Env, ) -> Result<ClassInstance<EncryptFromFileResult>>
Trait Implementations§
Source§impl FromNapiMutRef for EncryptFromFileResult
impl FromNapiMutRef for EncryptFromFileResult
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 EncryptFromFileResult
impl FromNapiRef for EncryptFromFileResult
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 &EncryptFromFileResult
impl FromNapiValue for &EncryptFromFileResult
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 EncryptFromFileResult
impl FromNapiValue for &mut EncryptFromFileResult
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 EncryptFromFileResult
impl ToNapiValue for EncryptFromFileResult
Source§unsafe fn to_napi_value(
env: napi_env,
val: EncryptFromFileResult,
) -> Result<napi_value>
unsafe fn to_napi_value( env: napi_env, val: EncryptFromFileResult, ) -> Result<napi_value>
Safety Read more
Source§impl TypeName for &EncryptFromFileResult
impl TypeName for &EncryptFromFileResult
Source§impl TypeName for &mut EncryptFromFileResult
impl TypeName for &mut EncryptFromFileResult
Source§impl TypeName for EncryptFromFileResult
impl TypeName for EncryptFromFileResult
Source§impl ValidateNapiValue for &EncryptFromFileResult
impl ValidateNapiValue for &EncryptFromFileResult
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 EncryptFromFileResult
impl ValidateNapiValue for &mut EncryptFromFileResult
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 EncryptFromFileResult
impl RefUnwindSafe for EncryptFromFileResult
impl Send for EncryptFromFileResult
impl Sync for EncryptFromFileResult
impl Unpin for EncryptFromFileResult
impl UnwindSafe for EncryptFromFileResult
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