pub struct FumaroleClient { /* private fields */ }Expand description
Yellowstone Fumarole SDK.
Implementations§
Source§impl FumaroleClient
impl FumaroleClient
pub async fn connect( config: FumaroleConfig, ) -> Result<FumaroleClient, ConnectError>
Sourcepub async fn version(&mut self) -> Result<VersionResponse, Status>
pub async fn version(&mut self) -> Result<VersionResponse, Status>
Returns the current version of the Fumarole service.
Sourcepub async fn dragonsmouth_subscribe<S>(
&mut self,
subscriber_name: S,
request: SubscribeRequest,
) -> Result<DragonsmouthAdapterSession, Status>
👎Deprecated: This method is deprecated. Please use subscribe instead.
pub async fn dragonsmouth_subscribe<S>( &mut self, subscriber_name: S, request: SubscribeRequest, ) -> Result<DragonsmouthAdapterSession, Status>
This method is deprecated. Please use subscribe instead.
Subscribe to a stream of updates from the Fumarole service
pub async fn dragonsmouth_subscribe_with_config<S>( &mut self, subscriber_name: S, request: SubscribeRequest, config: FumaroleSubscribeConfig, ) -> Result<DragonsmouthAdapterSession, Status>
👎Deprecated:
This method is deprecated. Please use subscribe_with_config instead.
pub async fn subscribe<S>( &mut self, subscriber_name: S, request: SubscribeRequest, ) -> Result<FumaroleSubscription, Status>
pub async fn subscribe_with_config<S>( &mut self, subscriber_name: S, request: SubscribeRequest, config: FumaroleSubscribeConfig, ) -> Result<FumaroleSubscription, Status>
pub async fn list_consumer_groups( &mut self, request: impl IntoRequest<ListConsumerGroupsRequest>, ) -> Result<Response<ListConsumerGroupsResponse>, Status>
pub async fn get_consumer_group_info( &mut self, request: impl IntoRequest<GetConsumerGroupInfoRequest>, ) -> Result<Response<ConsumerGroupInfo>, Status>
pub async fn delete_consumer_group( &mut self, request: impl IntoRequest<DeleteConsumerGroupRequest>, ) -> Result<Response<DeleteConsumerGroupResponse>, Status>
pub async fn create_consumer_group( &mut self, request: impl IntoRequest<CreateConsumerGroupRequest>, ) -> Result<Response<CreateConsumerGroupResponse>, Status>
pub async fn get_chain_tip( &mut self, request: impl IntoRequest<GetChainTipRequest>, ) -> Result<Response<GetChainTipResponse>, Status>
pub async fn get_slot_range( &mut self, ) -> Result<Response<GetSlotRangeResponse>, Status>
Trait Implementations§
Source§impl Clone for FumaroleClient
impl Clone for FumaroleClient
Source§fn clone(&self) -> FumaroleClient
fn clone(&self) -> FumaroleClient
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !Freeze for FumaroleClient
impl !RefUnwindSafe for FumaroleClient
impl Send for FumaroleClient
impl Sync for FumaroleClient
impl Unpin for FumaroleClient
impl UnsafeUnpin for FumaroleClient
impl !UnwindSafe for FumaroleClient
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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