pub enum Allowance {
PublicOnly,
InternalNetwork,
}Expand description
Whether a request may reach non-public addresses.
Variants§
PublicOnly
Public addresses only: Web Push always, and every gateway connection the operator has not marked “internal network”.
InternalNetwork
Any address over https, and internal addresses only over plain
http: a gateway connection the operator marked “internal network”
(gateway spec §5.7), and nothing else.
Trait Implementations§
impl Copy for Allowance
impl Eq for Allowance
impl StructuralPartialEq for Allowance
Auto Trait Implementations§
impl Freeze for Allowance
impl RefUnwindSafe for Allowance
impl Send for Allowance
impl Sync for Allowance
impl Unpin for Allowance
impl UnsafeUnpin for Allowance
impl UnwindSafe for Allowance
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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