init:store

This commit is contained in:
weisd
2024-06-26 15:53:11 +08:00
parent 918a263fd0
commit 03572ebcab
8 changed files with 586 additions and 12 deletions
+4
View File
@@ -218,6 +218,10 @@ impl Endpoints {
Self(Vec::new())
}
pub fn len(&self) -> usize {
self.0.len()
}
pub fn iter(&self) -> core::slice::Iter<Endpoint> {
self.0.iter()
}