pub enum CallScope {
Workspace,
InProcess,
Authority(String),
External,
}Expand description
How a caller constrains which repositories may provide the operation it invokes.
Variants§
Workspace
Any repository may provide the operation.
InProcess
The call runs in-process against the application in its own repository, such as a
TestClient(app), httptest, or MockMvc request.
Authority(String)
The call targets a normalized host:port authority.
External
The call targets a host outside the workspace and is never linked.
Trait Implementations§
impl Eq for CallScope
impl StructuralPartialEq for CallScope
Auto Trait Implementations§
impl Freeze for CallScope
impl RefUnwindSafe for CallScope
impl Send for CallScope
impl Sync for CallScope
impl Unpin for CallScope
impl UnsafeUnpin for CallScope
impl UnwindSafe for CallScope
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.