Struct overnet_core::ListPeersContext
source · pub struct ListPeersContext(/* private fields */);
Expand description
Wrapper to get the right list_peers behavior.
Implementations§
source§impl ListPeersContext
impl ListPeersContext
sourcepub async fn list_peers(&self) -> Result<Vec<ListablePeer>, Error>
pub async fn list_peers(&self) -> Result<Vec<ListablePeer>, Error>
Implementation of ListPeers fidl method.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for ListPeersContext
impl !RefUnwindSafe for ListPeersContext
impl Send for ListPeersContext
impl Sync for ListPeersContext
impl Unpin for ListPeersContext
impl !UnwindSafe for ListPeersContext
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