pub struct BitwardenClient(Client);
Tuple Fields§
§0: Client
Implementations§
Source§impl BitwardenClient
impl BitwardenClient
pub fn instance_of<V: NapiRaw>(env: Env, value: V) -> Result<bool>
Source§impl BitwardenClient
impl BitwardenClient
pub fn into_reference( val: BitwardenClient, env: Env, ) -> Result<Reference<BitwardenClient>>
pub fn into_instance(self, env: Env) -> Result<ClassInstance<BitwardenClient>>
unsafe fn new_instance( env: napi_env, wrapped_value: *mut c_void, ctor_ref: napi_ref, ) -> Result<napi_value>
Trait Implementations§
Source§impl FromNapiMutRef for BitwardenClient
impl FromNapiMutRef for BitwardenClient
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 BitwardenClient
impl FromNapiRef for BitwardenClient
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 &BitwardenClient
impl FromNapiValue for &BitwardenClient
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 BitwardenClient
impl FromNapiValue for &mut BitwardenClient
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 BitwardenClient
impl ToNapiValue for BitwardenClient
Source§unsafe fn to_napi_value(
env: napi_env,
val: BitwardenClient,
) -> Result<napi_value>
unsafe fn to_napi_value( env: napi_env, val: BitwardenClient, ) -> Result<napi_value>
Safety Read more
Source§impl TypeName for &BitwardenClient
impl TypeName for &BitwardenClient
Source§impl TypeName for &mut BitwardenClient
impl TypeName for &mut BitwardenClient
Source§impl TypeName for BitwardenClient
impl TypeName for BitwardenClient
Source§impl ValidateNapiValue for &BitwardenClient
impl ValidateNapiValue for &BitwardenClient
Auto Trait Implementations§
impl !Freeze for BitwardenClient
impl !RefUnwindSafe for BitwardenClient
impl Send for BitwardenClient
impl Sync for BitwardenClient
impl Unpin for BitwardenClient
impl !UnwindSafe for BitwardenClient
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> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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