pub struct ProtocolMatch {
pub protocol: Protocol,
pub peer_endpoint: String,
}Expand description
The chosen protocol and the counterparty endpoint to route to for it.
Fields§
§protocol: ProtocolThe selected transport.
peer_endpoint: StringThe counterparty endpoint for protocol: the peer’s mediator DID
for TSP/DIDComm (resolve it onward for the transport URL), the peer’s
URL for REST.
Trait Implementations§
Source§impl Clone for ProtocolMatch
impl Clone for ProtocolMatch
Source§fn clone(&self) -> ProtocolMatch
fn clone(&self) -> ProtocolMatch
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ProtocolMatch
impl Debug for ProtocolMatch
impl Eq for ProtocolMatch
Source§impl PartialEq for ProtocolMatch
impl PartialEq for ProtocolMatch
impl StructuralPartialEq for ProtocolMatch
Auto Trait Implementations§
impl Freeze for ProtocolMatch
impl RefUnwindSafe for ProtocolMatch
impl Send for ProtocolMatch
impl Sync for ProtocolMatch
impl Unpin for ProtocolMatch
impl UnsafeUnpin for ProtocolMatch
impl UnwindSafe for ProtocolMatch
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