pub struct Rustp2pEndpoint { /* private fields */ }Expand description
Endpoint handle for sending and receiving P2P data.
Create with rustp2p_builder_build, free with rustp2p_endpoint_free.
Auto Trait Implementations§
impl Freeze for Rustp2pEndpoint
impl !RefUnwindSafe for Rustp2pEndpoint
impl Send for Rustp2pEndpoint
impl Sync for Rustp2pEndpoint
impl Unpin for Rustp2pEndpoint
impl !UnwindSafe for Rustp2pEndpoint
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