pub struct Reach {
pub allow_http: bool,
pub allow_private: bool,
pub connect_to: ConnectTo,
}Available on crate feature
client only.Expand description
Where a PersonServerClient may send requests. The default is
production’s: https only, and never an IP literal or localhost.
Fields§
§allow_http: boolAllow http:// URLs. Local development only.
allow_private: boolAllow IP literals and localhost. Local development only; with a
guarded client, its resolver still refuses private answers.
connect_to: ConnectToSend requests for some authorities to other addresses.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Reach
impl RefUnwindSafe for Reach
impl Send for Reach
impl Sync for Reach
impl Unpin for Reach
impl UnsafeUnpin for Reach
impl UnwindSafe for Reach
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