pub struct Rules {
pub allow: Vec<HostPort>,
pub upstream: Option<Upstream>,
pub limits: Limits,
}Expand description
What the proxy allows and how.
Fields§
§allow: Vec<HostPort>§upstream: Option<Upstream>§limits: LimitsTrait Implementations§
Auto Trait Implementations§
impl Forget for Rules
impl Freeze for Rules
impl Move for Rules
impl RefUnwindSafe for Rules
impl Send for Ruleswhere
RawVecInner: Send,
impl Sync for Ruleswhere
RawVecInner: Sync,
impl Unpin for Rules
impl UnsafeUnpin for Ruleswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<HostPort>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
impl UnwindSafe for Ruleswhere
RawVecInner: 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