[−][src]Struct exonum_middleware_service::MiddlewareService
Middleware service.
Trait Implementations
impl Debug for MiddlewareService
[src]
impl DefaultInstance for MiddlewareService
[src]
const INSTANCE_ID: InstanceId
[src]
const INSTANCE_NAME: &'static str
[src]
fn default_instance(&self) -> InstanceInitParams
[src]
impl<'_> MiddlewareInterface<ExecutionContext<'_>> for MiddlewareService
[src]
type Output = Result<(), ExecutionError>
Value output by the interface.
fn checked_call(
&self,
context: ExecutionContext,
arg: CheckedCall
) -> Self::Output
[src]
&self,
context: ExecutionContext,
arg: CheckedCall
) -> Self::Output
fn batch(&self, context: ExecutionContext, arg: Batch) -> Self::Output
[src]
impl Service for MiddlewareService
[src]
fn initialize(
&self,
_context: ExecutionContext,
_params: Vec<u8>
) -> Result<(), ExecutionError>
[src]
&self,
_context: ExecutionContext,
_params: Vec<u8>
) -> Result<(), ExecutionError>
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]
fn wire_api(&self, _builder: &mut ServiceApiBuilder)
[src]
impl ServiceDispatcher for MiddlewareService
[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 MiddlewareService
[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 MiddlewareService
impl Send for MiddlewareService
impl Sync for MiddlewareService
impl Unpin for MiddlewareService
impl UnwindSafe for MiddlewareService
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<T> Erased for T
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,