pub struct ExchangeTicket(/* private fields */);Expand description
The client representative’s capability to open the other side of an exchange. It may travel through an Orbit offer or any setup channel.
Implementations§
Source§impl ExchangeTicket
impl ExchangeTicket
pub const fn from_stream_ticket(ticket: Ticket) -> Self
pub const fn stream_ticket(self) -> Ticket
pub const fn id(self) -> ExchangeId
Trait Implementations§
Source§impl Clone for ExchangeTicket
impl Clone for ExchangeTicket
impl Copy for ExchangeTicket
Source§impl Debug for ExchangeTicket
impl Debug for ExchangeTicket
Source§impl Display for ExchangeTicket
impl Display for ExchangeTicket
impl Eq for ExchangeTicket
Source§impl FromStr for ExchangeTicket
impl FromStr for ExchangeTicket
Source§impl Hash for ExchangeTicket
impl Hash for ExchangeTicket
Source§impl PartialEq for ExchangeTicket
impl PartialEq for ExchangeTicket
impl StructuralPartialEq for ExchangeTicket
Auto Trait Implementations§
impl Forget for ExchangeTicket
impl Freeze for ExchangeTicket
impl RefUnwindSafe for ExchangeTicket
impl Send for ExchangeTicket
impl Sync for ExchangeTicket
impl Unpin for ExchangeTicket
impl UnsafeUnpin for ExchangeTicket
impl UnwindSafe for ExchangeTicket
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