Enum xstack_kad::Routing
source · pub enum Routing {
Closest(Vec<PeerId>),
Finished,
}
Expand description
The varaint returns by call routing
fn rpc on peers
Variants§
Closest(Vec<PeerId>)
Need to continue recursive routing closest
peers.
Finished
No need to continue recursive routing
Auto Trait Implementations§
impl Freeze for Routing
impl RefUnwindSafe for Routing
impl Send for Routing
impl Sync for Routing
impl Unpin for Routing
impl UnwindSafe for Routing
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