Struct ibc_proto::ibc::core::connection::v1::msg_client::MsgClient
source · [−]pub struct MsgClient<T> { /* private fields */ }
Expand description
Msg defines the ibc/connection Msg service.
Implementations
impl<T> MsgClient<T> where
T: GrpcService<BoxBody>,
T::ResponseBody: Body + Send + 'static,
T::Error: Into<StdError>,
<T::ResponseBody as Body>::Error: Into<StdError> + Send,
impl<T> MsgClient<T> where
T: GrpcService<BoxBody>,
T::ResponseBody: Body + Send + 'static,
T::Error: Into<StdError>,
<T::ResponseBody as Body>::Error: Into<StdError> + Send,
pub fn with_interceptor<F>(
inner: T,
interceptor: F
) -> MsgClient<InterceptedService<T, F>> where
F: Interceptor,
T: Service<Request<BoxBody>, Response = Response<<T as GrpcService<BoxBody>>::ResponseBody>>,
<T as Service<Request<BoxBody>>>::Error: Into<StdError> + Send + Sync,
Compress requests with gzip
.
This requires the server to support it otherwise it might respond with an error.
Enable decompressing responses with gzip
.
pub async fn connection_open_init(
&mut self,
request: impl IntoRequest<MsgConnectionOpenInit>
) -> Result<Response<MsgConnectionOpenInitResponse>, Status>
pub async fn connection_open_init(
&mut self,
request: impl IntoRequest<MsgConnectionOpenInit>
) -> Result<Response<MsgConnectionOpenInitResponse>, Status>
ConnectionOpenInit defines a rpc handler method for MsgConnectionOpenInit.
pub async fn connection_open_try(
&mut self,
request: impl IntoRequest<MsgConnectionOpenTry>
) -> Result<Response<MsgConnectionOpenTryResponse>, Status>
pub async fn connection_open_try(
&mut self,
request: impl IntoRequest<MsgConnectionOpenTry>
) -> Result<Response<MsgConnectionOpenTryResponse>, Status>
ConnectionOpenTry defines a rpc handler method for MsgConnectionOpenTry.
pub async fn connection_open_ack(
&mut self,
request: impl IntoRequest<MsgConnectionOpenAck>
) -> Result<Response<MsgConnectionOpenAckResponse>, Status>
pub async fn connection_open_ack(
&mut self,
request: impl IntoRequest<MsgConnectionOpenAck>
) -> Result<Response<MsgConnectionOpenAckResponse>, Status>
ConnectionOpenAck defines a rpc handler method for MsgConnectionOpenAck.
pub async fn connection_open_confirm(
&mut self,
request: impl IntoRequest<MsgConnectionOpenConfirm>
) -> Result<Response<MsgConnectionOpenConfirmResponse>, Status>
pub async fn connection_open_confirm(
&mut self,
request: impl IntoRequest<MsgConnectionOpenConfirm>
) -> Result<Response<MsgConnectionOpenConfirmResponse>, Status>
ConnectionOpenConfirm defines a rpc handler method for MsgConnectionOpenConfirm.
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for MsgClient<T> where
T: RefUnwindSafe,
impl<T> UnwindSafe for MsgClient<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more