Struct ConnectionOpenTry
pub struct ConnectionOpenTry {
pub conn_id_on_b: ConnectionId,
pub client_id_on_b: ClientId,
pub conn_id_on_a: ConnectionId,
pub client_id_on_a: ClientId,
}
Expand description
Per our convention, this event is generated on chain B.
Fields§
§conn_id_on_b: ConnectionId
§client_id_on_b: ClientId
§conn_id_on_a: ConnectionId
§client_id_on_a: ClientId
Implementations§
§impl ConnectionOpenTry
impl ConnectionOpenTry
Trait Implementations§
§impl TryFrom<Event> for ConnectionOpenTry
impl TryFrom<Event> for ConnectionOpenTry
§fn try_from(
event: Event,
) -> Result<ConnectionOpenTry, <ConnectionOpenTry as TryFrom<Event>>::Error>
fn try_from( event: Event, ) -> Result<ConnectionOpenTry, <ConnectionOpenTry as TryFrom<Event>>::Error>
Performs the conversion.
§impl TypedEvent for ConnectionOpenTry
impl TypedEvent for ConnectionOpenTry
§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 ConnectionOpenTry
impl RefUnwindSafe for ConnectionOpenTry
impl Send for ConnectionOpenTry
impl Sync for ConnectionOpenTry
impl Unpin for ConnectionOpenTry
impl UnwindSafe for ConnectionOpenTry
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