pub struct CadetPathInfo {
pub peer: PeerId,
pub target_offset: u32,
pub path: Vec<PeerId>,
}Expand description
Путь к узлу.
Fields§
§peer: PeerIdУзел, к которому ведёт путь.
target_offset: u32Положение целевого узла в path.
path: Vec<PeerId>Узлы пути по порядку.
Trait Implementations§
Source§impl Clone for CadetPathInfo
impl Clone for CadetPathInfo
Source§fn clone(&self) -> CadetPathInfo
fn clone(&self) -> CadetPathInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CadetPathInfo
impl Debug for CadetPathInfo
impl Eq for CadetPathInfo
Source§impl PartialEq for CadetPathInfo
impl PartialEq for CadetPathInfo
impl StructuralPartialEq for CadetPathInfo
Auto Trait Implementations§
impl Freeze for CadetPathInfo
impl RefUnwindSafe for CadetPathInfo
impl Send for CadetPathInfo
impl Sync for CadetPathInfo
impl Unpin for CadetPathInfo
impl UnsafeUnpin for CadetPathInfo
impl UnwindSafe for CadetPathInfo
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