#![allow(dead_code)]
use crate::neo_protocol::NeoBlock;
use futures::stream::Stream;
use std::{error::Error, pin::Pin};
pub(crate) trait NeoRustRxTrait {
fn block_stream(
&self,
full_transaction_objects: bool,
) -> Pin<Box<dyn Stream<Item = Result<NeoBlock, Box<dyn Error>>> + Send>>;
fn replay_blocks_stream(
&self,
start_block: u32,
end_block: u32,
full_transaction_objects: bool,
) -> Pin<Box<dyn Stream<Item = Result<NeoBlock, Box<dyn Error>>> + Send>>;
fn replay_blocks_stream_ordered(
&self,
start_block: u32,
end_block: u32,
full_transaction_objects: bool,
ascending: bool,
) -> Pin<Box<dyn Stream<Item = Result<NeoBlock, Box<dyn Error>>> + Send>>;
fn catch_up_to_latest_block_stream(
&self,
start_block: u32,
full_transaction_objects: bool,
) -> Pin<Box<dyn Stream<Item = Result<NeoBlock, Box<dyn Error>>> + Send>>;
fn catch_up_to_latest_and_subscribe_to_new_blocks_stream(
&self,
start_block: u32,
full_transaction_objects: bool,
) -> Pin<Box<dyn Stream<Item = Result<NeoBlock, Box<dyn Error>>> + Send>>;
fn subscribe_to_new_blocks_stream(
&self,
full_transaction_objects: bool,
) -> Pin<Box<dyn Stream<Item = Result<NeoBlock, Box<dyn Error>>> + Send>>;
}