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