pub struct Discovered {
pub peers: Vec<Peer>,
pub candidates: Vec<String>,
pub identity: Arc<Identity>,
}Expand description
追いつく段階で使うピア。つないだものと、外したら代わりにつなぐ候補のアドレスと、つなぎ直すのに使う身元
Fields§
§peers: Vec<Peer>§candidates: Vec<String>§identity: Arc<Identity>Auto Trait Implementations§
impl !RefUnwindSafe for Discovered
impl !UnwindSafe for Discovered
impl Freeze for Discovered
impl Send for Discovered
impl Sync for Discovered
impl Unpin for Discovered
impl UnsafeUnpin for Discovered
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
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more