Struct libp2p_dcutr::Event
source · pub struct Event {
pub remote_peer_id: PeerId,
pub result: Result<ConnectionId, Error>,
}
Expand description
The events produced by the Behaviour
.
Fields§
§remote_peer_id: PeerId
§result: Result<ConnectionId, Error>
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