pub enum Reach {
Public,
Anywhere,
}Expand description
Which hosts a request may reach.
Variants§
Public
Public hosts only: no IP literals, no localhost, every resolved address public.
For anything a model can choose, which is what makes an internal address a hazard.
Anywhere
Any host. For a URL the user wrote into their own config: pointing the update notice at a mirror on the LAN is their call, not a model’s.
Trait Implementations§
impl Copy for Reach
impl Eq for Reach
impl StructuralPartialEq for Reach
Auto Trait Implementations§
impl Forget for Reach
impl Freeze for Reach
impl Move 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.