pub struct Iterator { /* private fields */ }
Expand description
Iterator iterates over a membd database’s key/value pairs.
ref. https://pkg.go.dev/github.com/ava-labs/avalanchego/database#Iterator
Implementations§
Trait Implementations§
source§impl Iterator for Iterator
impl Iterator for Iterator
source§fn next<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn next<'life0, 'async_trait>( &'life0 mut self ) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,
Implements the [crate::subnet::rpc::database::Iterator
] trait.
source§fn error<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn error<'life0, 'async_trait>( &'life0 mut self ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,
Implements the [crate::subnet::rpc::database::Iterator
] trait.
source§fn key<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<&[u8]>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn key<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = Result<&[u8]>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,
Implements the [crate::subnet::rpc::database::Iterator
] trait.
Auto Trait Implementations§
impl !RefUnwindSafe for Iterator
impl Send for Iterator
impl Sync for Iterator
impl Unpin for Iterator
impl !UnwindSafe for Iterator
Blanket Implementations§
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request