pub enum RequestsUntrusted {
Refuse,
Relay,
}Expand description
What openmoat proxy does with a connection to a requests: host it
cannot terminate (requests_untrusted:): a session that did not receive
OpenMoat’s certificate authority, or a request without a session.
Variants§
Refuse
Refuse it (request-rule): the rules cannot be held otherwise.
Relay
Relay it unread, as before ADR-062, and say so on its row.
Trait Implementations§
impl Copy for Untrusted
Source§impl<'de> Deserialize<'de> for Untrusted
impl<'de> Deserialize<'de> for Untrusted
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Untrusted
impl StructuralPartialEq for Untrusted
Auto Trait Implementations§
impl Forget for Untrusted
impl Freeze for Untrusted
impl Move for Untrusted
impl RefUnwindSafe for Untrusted
impl Send for Untrusted
impl Sync for Untrusted
impl Unpin for Untrusted
impl UnsafeUnpin for Untrusted
impl UnwindSafe for Untrusted
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