pub struct Config {
pub fallthrough: Route,
/* private fields */
}Expand description
Configuration for resolver
This is usually parsed from RUST_NS env variable, but can also be
constructed manually for passing default or overriding environment.
Note: Config has infallible FromStr, we will publish a better opt-in
interface for checking errors.
Fields§
§fallthrough: RouteA fallthrough/default/root resolver
Trait Implementations§
impl StructuralPartialEq for Config
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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