[−][src]Struct exonum_btc_anchoring::BtcAnchoringService
Bitcoin anchoring service implementation for the Exonum blockchain.
Trait Implementations
impl<'_> BtcAnchoringInterface<ExecutionContext<'_>> for BtcAnchoringService
[src]
type Output = Result<(), ExecutionError>
Value output by the interface.
fn sign_input(&self, context: ExecutionContext, arg: SignInput) -> Self::Output
[src]
fn add_funds(&self, context: ExecutionContext, arg: AddFunds) -> Self::Output
[src]
impl Clone for BtcAnchoringService
[src]
fn clone(&self) -> BtcAnchoringService
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Configure for BtcAnchoringService
[src]
type Params = Config
The specific type of parameters passed during the service instance configuration.
fn verify_config(
&self,
context: ExecutionContext,
params: Self::Params
) -> Result<(), ExecutionError>
[src]
&self,
context: ExecutionContext,
params: Self::Params
) -> Result<(), ExecutionError>
fn apply_config(
&self,
context: ExecutionContext,
params: Self::Params
) -> Result<(), ExecutionError>
[src]
&self,
context: ExecutionContext,
params: Self::Params
) -> Result<(), ExecutionError>
impl Copy for BtcAnchoringService
[src]
impl Debug for BtcAnchoringService
[src]
impl Service for BtcAnchoringService
[src]
fn initialize(
&self,
context: ExecutionContext,
params: Vec<u8>
) -> Result<(), ExecutionError>
[src]
&self,
context: ExecutionContext,
params: Vec<u8>
) -> Result<(), ExecutionError>
fn wire_api(&self, builder: &mut ServiceApiBuilder)
[src]
fn resume(
&self,
_context: ExecutionContext,
_params: Vec<u8>
) -> Result<(), ExecutionError>
[src]
&self,
_context: ExecutionContext,
_params: Vec<u8>
) -> Result<(), ExecutionError>
fn before_transactions(
&self,
_context: ExecutionContext
) -> Result<(), ExecutionError>
[src]
&self,
_context: ExecutionContext
) -> Result<(), ExecutionError>
fn after_transactions(
&self,
_context: ExecutionContext
) -> Result<(), ExecutionError>
[src]
&self,
_context: ExecutionContext
) -> Result<(), ExecutionError>
fn after_commit(&self, _context: AfterCommitContext)
[src]
impl ServiceDispatcher for BtcAnchoringService
[src]
fn call(
&self,
ctx: ExecutionContext,
method: MethodId,
payload: &[u8]
) -> Result<(), ExecutionError>
[src]
&self,
ctx: ExecutionContext,
method: MethodId,
payload: &[u8]
) -> Result<(), ExecutionError>
impl ServiceFactory for BtcAnchoringService
[src]
fn artifact_id(&self) -> ArtifactId
[src]
fn artifact_protobuf_spec(&self) -> ArtifactProtobufSpec
[src]
fn create_instance(&self) -> Box<dyn Service>
[src]
Auto Trait Implementations
impl RefUnwindSafe for BtcAnchoringService
impl Send for BtcAnchoringService
impl Sync for BtcAnchoringService
impl Unpin for BtcAnchoringService
impl UnwindSafe for BtcAnchoringService
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<Ctx, T> BtcAnchoringInterface<Ctx> for T where
T: GenericCall<Ctx>,
[src]
T: GenericCall<Ctx>,
type Output = <T as GenericCall<Ctx>>::Output
Value output by the interface.
fn sign_input(
&Self,
Ctx,
SignInput
) -> <T as BtcAnchoringInterface<Ctx>>::Output
[src]
&Self,
Ctx,
SignInput
) -> <T as BtcAnchoringInterface<Ctx>>::Output
fn add_funds(&Self, Ctx, AddFunds) -> <T as BtcAnchoringInterface<Ctx>>::Output
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Typeable for T where
T: Any,
T: Any,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,