pub struct NoPeers;Expand description
No peers — every workspace is somewhere this host cannot see.
The honest default rather than a degenerate one: it is what a workspace with
no configured map already behaves like, and what every consumer that has not
been given a resolver should use. Mirrors NoIndex.
Trait Implementations§
impl Copy for NoPeers
Source§impl PeerResolver for NoPeers
impl PeerResolver for NoPeers
Source§fn locate(&self, _workspace: &str) -> PeerLookup
fn locate(&self, _workspace: &str) -> PeerLookup
Where the workspace named
workspace is. Read moreSource§fn locate_document(&self, workspace: &str, id: &Id) -> Option<PeerLocation>
fn locate_document(&self, workspace: &str, id: &Id) -> Option<PeerLocation>
Where one document in that workspace is — the whole reference answered
at once, rather than the workspace it lives in. Read more
Auto Trait Implementations§
impl Freeze for NoPeers
impl RefUnwindSafe for NoPeers
impl Send for NoPeers
impl Sync for NoPeers
impl Unpin for NoPeers
impl UnsafeUnpin for NoPeers
impl UnwindSafe for NoPeers
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