pub struct Directory { /* private fields */ }Expand description
A bounded directory client independent of Aède sessions.
Construction is offline. Each command shares a 24-second discovery/retry budget, accepts at most three validated mirrors, and refuses redirects, private DNS targets and oversized bodies. External-service traffic never inherits proxy credentials.
Implementations§
Source§impl Directory
impl Directory
Sourcepub fn search(
&mut self,
name: &str,
country: &str,
tag: &str,
offset: u32,
secure_only: bool,
) -> Result<Value, String>
pub fn search( &mut self, name: &str, country: &str, tag: &str, offset: u32, secure_only: bool, ) -> Result<Value, String>
Search the complete external directory with at most 51 rows and an explicit page window.
Sourcepub fn statistics(&mut self) -> Result<Value, String>
pub fn statistics(&mut self) -> Result<Value, String>
Read external directory counts only after an explicit user request.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Directory
impl !UnwindSafe for Directory
impl Freeze for Directory
impl Send for Directory
impl Sync for Directory
impl Unpin for Directory
impl UnsafeUnpin for Directory
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