pub struct Peers(/* private fields */);
Expand description
The list of peers online.
Includes all connected peers as well as the local device.
The order is deterministic between calls and between runs.
Implementations§
Trait Implementations§
Source§impl IntoIterator for Peers
impl IntoIterator for Peers
impl Copy for Peers
impl Eq for Peers
impl StructuralPartialEq for Peers
Auto Trait Implementations§
impl Freeze for Peers
impl RefUnwindSafe for Peers
impl Send for Peers
impl Sync for Peers
impl Unpin for Peers
impl UnwindSafe for Peers
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