#[non_exhaustive]pub enum Trust {
None,
Requests,
All,
}Expand description
Which of a session’s tunnels the proxy may terminate: those whose clients trust its certificate authority.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
None
None: the session’s commands were not given the CA.
Requests
Those to requests: hosts (ADR-062): an issued credential whose
session received the trust files (Verify::trusted).
All
Every one the proxy terminates: a credential the proxy holds, whose
commands openmoat run gives the trust files (ADR-043).
Trait Implementations§
impl Copy for Trust
impl Eq for Trust
impl StructuralPartialEq for Trust
Auto Trait Implementations§
impl Forget for Trust
impl Freeze for Trust
impl Move for Trust
impl RefUnwindSafe for Trust
impl Send for Trust
impl Sync for Trust
impl Unpin for Trust
impl UnsafeUnpin for Trust
impl UnwindSafe for Trust
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