pub struct BlockchainRpcServiceBuilder<MandatoryFields> { /* private fields */ }Implementations§
Source§impl<B> BlockchainRpcServiceBuilder<(B, CoreStorage)>where
B: BroadcastListener,
impl<B> BlockchainRpcServiceBuilder<(B, CoreStorage)>where
B: BroadcastListener,
pub fn build(self) -> BlockchainRpcService<B>
Source§impl<T1> BlockchainRpcServiceBuilder<(T1, ())>
impl<T1> BlockchainRpcServiceBuilder<(T1, ())>
pub fn with_storage( self, storage: CoreStorage, ) -> BlockchainRpcServiceBuilder<(T1, CoreStorage)>
Source§impl<T2> BlockchainRpcServiceBuilder<((), T2)>
impl<T2> BlockchainRpcServiceBuilder<((), T2)>
pub fn with_broadcast_listener<T1>(
self,
broadcast_listener: T1,
) -> BlockchainRpcServiceBuilder<(T1, T2)>where
T1: BroadcastListener,
pub fn without_broadcast_listener( self, ) -> BlockchainRpcServiceBuilder<(NoopBroadcastListener, T2)>
Source§impl<T1, T2> BlockchainRpcServiceBuilder<(T1, T2)>
impl<T1, T2> BlockchainRpcServiceBuilder<(T1, T2)>
pub fn with_config(self, config: BlockchainRpcServiceConfig) -> Self
Auto Trait Implementations§
impl<MandatoryFields> Freeze for BlockchainRpcServiceBuilder<MandatoryFields>where
MandatoryFields: Freeze,
impl<MandatoryFields> RefUnwindSafe for BlockchainRpcServiceBuilder<MandatoryFields>where
MandatoryFields: RefUnwindSafe,
impl<MandatoryFields> Send for BlockchainRpcServiceBuilder<MandatoryFields>where
MandatoryFields: Send,
impl<MandatoryFields> Sync for BlockchainRpcServiceBuilder<MandatoryFields>where
MandatoryFields: Sync,
impl<MandatoryFields> Unpin for BlockchainRpcServiceBuilder<MandatoryFields>where
MandatoryFields: Unpin,
impl<MandatoryFields> UnwindSafe for BlockchainRpcServiceBuilder<MandatoryFields>where
MandatoryFields: UnwindSafe,
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> 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> 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