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