Enum libp2p_relay::client::Event
source · pub enum Event {
ReservationReqAccepted {
relay_peer_id: PeerId,
renewal: bool,
limit: Option<Limit>,
},
OutboundCircuitEstablished {
relay_peer_id: PeerId,
limit: Option<Limit>,
},
InboundCircuitEstablished {
src_peer_id: PeerId,
limit: Option<Limit>,
},
}
Expand description
The events produced by the client Behaviour
.
Variants§
ReservationReqAccepted
Fields
An outbound reservation has been accepted.
OutboundCircuitEstablished
InboundCircuitEstablished
An inbound circuit has been established.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnwindSafe for Event
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