Struct data_streaming_service::streaming_service::DataStreamingService [−][src]
pub struct DataStreamingService<T> { /* fields omitted */ }Expand description
The data streaming service that responds to data stream requests.
Implementations
pub fn new(
config: DataStreamingServiceConfig,
diem_data_client: T,
stream_requests: StreamingServiceListener
) -> Self
Starts the dedicated streaming service
Auto Trait Implementations
impl<T> !RefUnwindSafe for DataStreamingService<T>
impl<T> Send for DataStreamingService<T> where
T: Send,
impl<T> !Sync for DataStreamingService<T>
impl<T> Unpin for DataStreamingService<T> where
T: Unpin,
impl<T> !UnwindSafe for DataStreamingService<T>
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
type Output = T
type Output = T
Should always be Self