pub struct BootstrapConnection { /* private fields */ }Implementations§
Source§impl BootstrapConnection
impl BootstrapConnection
pub fn identity(&self) -> &BootstrapIdentity
pub async fn send(&mut self, message: BootstrapMessage) -> Result<()>
pub async fn recv(&mut self) -> Result<Option<BootstrapMessage>>
pub fn peer_closed_now(&self) -> Result<bool>
Auto Trait Implementations§
impl !Freeze for BootstrapConnection
impl RefUnwindSafe for BootstrapConnection
impl Send for BootstrapConnection
impl Sync for BootstrapConnection
impl Unpin for BootstrapConnection
impl UnsafeUnpin for BootstrapConnection
impl UnwindSafe for BootstrapConnection
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