Lines Matching defs:Path
114 pub struct Path { struct
128 state: PathState, argument
131 active: bool,
134 pub recovery: recovery::Recovery,
138 in_flight_challenges: VecDeque<([u8; 8], usize, time::Instant)>,
141 max_challenge_size: usize,
144 probing_lost: usize,
147 last_probe_lost_time: Option<time::Instant>,
150 received_challenges: VecDeque<[u8; 8]>,
153 pub sent_count: usize,
156 pub recv_count: usize,
159 pub retrans_count: usize,
162 pub sent_bytes: u64,
165 pub recv_bytes: u64,
169 pub stream_retrans_bytes: u64,
195 impl Path { argument
513 mut initial_path: Path, max_concurrent_paths: usize, is_server: bool, in new()
542 pub fn get(&self, path_id: usize) -> Result<&Path> { in get()
552 pub fn get_mut(&mut self, path_id: usize) -> Result<&mut Path> { in get_mut()
559 pub fn get_active_with_pid(&self) -> Option<(usize, &Path)> { in get_active_with_pid()
568 pub fn get_active(&self) -> Result<&Path> { in get_active()
590 pub fn get_active_mut(&mut self) -> Result<&mut Path> { in get_active_mut()
600 pub fn iter(&self) -> slab::Iter<Path> { in iter()
606 pub fn iter_mut(&mut self) -> slab::IterMut<Path> { in iter_mut()
659 pub fn insert_path(&mut self, path: Path, is_server: bool) -> Result<usize> { in insert_path()