Struct ockam_api::nodes::models::secure_channel::CreateSecureChannelResponse
source · pub struct CreateSecureChannelResponse {
pub addr: Address,
pub flow_control_id: FlowControlId,
}Expand description
Response body when instructing a node to create a Secure Channel
Fields§
§addr: Address§flow_control_id: FlowControlIdImplementations§
source§impl CreateSecureChannelResponse
impl CreateSecureChannelResponse
pub fn new(secure_channel: SecureChannel) -> Self
pub fn flow_control_id(&self) -> FlowControlId
pub fn multiaddr(&self) -> Result<MultiAddr>
Trait Implementations§
source§impl Clone for CreateSecureChannelResponse
impl Clone for CreateSecureChannelResponse
source§fn clone(&self) -> CreateSecureChannelResponse
fn clone(&self) -> CreateSecureChannelResponse
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for CreateSecureChannelResponse
impl Debug for CreateSecureChannelResponse
source§impl<'bytes, Ctx> Decode<'bytes, Ctx> for CreateSecureChannelResponse
impl<'bytes, Ctx> Decode<'bytes, Ctx> for CreateSecureChannelResponse
source§impl<Ctx> Encode<Ctx> for CreateSecureChannelResponse
impl<Ctx> Encode<Ctx> for CreateSecureChannelResponse
Auto Trait Implementations§
impl RefUnwindSafe for CreateSecureChannelResponse
impl Send for CreateSecureChannelResponse
impl Sync for CreateSecureChannelResponse
impl Unpin for CreateSecureChannelResponse
impl UnwindSafe for CreateSecureChannelResponse
Blanket Implementations§
source§impl<D> AsyncTryClone for D
impl<D> AsyncTryClone for D
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.