pub struct ResolveOptions {
pub timeout: Option<Duration>,
pub eager_witness_download: bool,
pub max_response_bytes: u64,
}Expand description
Options for network-based DID resolution.
Fields§
§timeout: Option<Duration>Network timeout (default: 10 seconds).
eager_witness_download: boolDownload witnesses concurrently with log entries (default: false).
max_response_bytes: u64Maximum allowed HTTP response body size in bytes (default: 200 KB). Applies independently to each downloaded file (did.jsonl, did-witness.json).
Trait Implementations§
Source§impl Clone for ResolveOptions
impl Clone for ResolveOptions
Source§fn clone(&self) -> ResolveOptions
fn clone(&self) -> ResolveOptions
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 ResolveOptions
impl Debug for ResolveOptions
Auto Trait Implementations§
impl Freeze for ResolveOptions
impl RefUnwindSafe for ResolveOptions
impl Send for ResolveOptions
impl Sync for ResolveOptions
impl Unpin for ResolveOptions
impl UnsafeUnpin for ResolveOptions
impl UnwindSafe for ResolveOptions
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