pub enum RelayPolicy {
DirectOnly,
CloudRelayAllowed,
}Variants§
DirectOnly
The client must reach the selected executor directly.
CloudRelayAllowed
A Hub-owned request may use the cloud connection as a transport relay.
Trait Implementations§
Source§impl Clone for RelayPolicy
impl Clone for RelayPolicy
impl Copy for RelayPolicy
Source§impl Debug for RelayPolicy
impl Debug for RelayPolicy
impl Eq for RelayPolicy
Source§impl PartialEq for RelayPolicy
impl PartialEq for RelayPolicy
impl StructuralPartialEq for RelayPolicy
Auto Trait Implementations§
impl Freeze for RelayPolicy
impl RefUnwindSafe for RelayPolicy
impl Send for RelayPolicy
impl Sync for RelayPolicy
impl Unpin for RelayPolicy
impl UnsafeUnpin for RelayPolicy
impl UnwindSafe for RelayPolicy
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