Struct ConnectionOpenAck
pub struct ConnectionOpenAck {
pub conn_id_on_a: ConnectionId,
pub client_id_on_a: ClientId,
pub conn_id_on_b: ConnectionId,
pub client_id_on_b: ClientId,
}
Expand description
Per our convention, this event is generated on chain A.
Fields§
§conn_id_on_a: ConnectionId
§client_id_on_a: ClientId
§conn_id_on_b: ConnectionId
§client_id_on_b: ClientId
Implementations§
§impl ConnectionOpenAck
impl ConnectionOpenAck
Trait Implementations§
§impl TryFrom<Event> for ConnectionOpenAck
impl TryFrom<Event> for ConnectionOpenAck
§fn try_from(
event: Event,
) -> Result<ConnectionOpenAck, <ConnectionOpenAck as TryFrom<Event>>::Error>
fn try_from( event: Event, ) -> Result<ConnectionOpenAck, <ConnectionOpenAck as TryFrom<Event>>::Error>
Performs the conversion.
§impl TypedEvent for ConnectionOpenAck
impl TypedEvent for ConnectionOpenAck
§fn into_event(self) -> Event
fn into_event(self) -> Event
Convenience wrapper around
Into::into
that doesn’t require type inference.Auto Trait Implementations§
impl Freeze for ConnectionOpenAck
impl RefUnwindSafe for ConnectionOpenAck
impl Send for ConnectionOpenAck
impl Sync for ConnectionOpenAck
impl Unpin for ConnectionOpenAck
impl UnwindSafe for ConnectionOpenAck
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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