pub struct Options<I> {
pub request_profile: Vec<Profile<I>>,
pub max_redirections: usize,
}
Expand description
Loader options.
Fields§
§request_profile: Vec<Profile<I>>
One or more IRIs to use in the request as a profile parameter.
(See IANA Considerations).
max_redirections: usize
Maximum number of allowed redirections before the loader fails.
Defaults to 8.
Trait Implementations§
Auto Trait Implementations§
impl<I> Freeze for Options<I>
impl<I> RefUnwindSafe for Options<I>where
I: RefUnwindSafe,
impl<I> Send for Options<I>where
I: Send,
impl<I> Sync for Options<I>where
I: Sync,
impl<I> Unpin for Options<I>where
I: Unpin,
impl<I> UnwindSafe for Options<I>where
I: UnwindSafe,
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