pub enum ExposureLevel {
CodeOnly,
Internal,
External,
}Expand description
The greatest exposure a capability permits.
Variants§
CodeOnly
Calls remain inside code composition.
Internal
Calls may cross an internal service boundary.
External
Calls may cross an external service boundary.
Trait Implementations§
Source§impl Clone for ExposureLevel
impl Clone for ExposureLevel
Source§fn clone(&self) -> ExposureLevel
fn clone(&self) -> ExposureLevel
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ExposureLevel
Source§impl Debug for ExposureLevel
impl Debug for ExposureLevel
impl Eq for ExposureLevel
Source§impl Hash for ExposureLevel
impl Hash for ExposureLevel
Source§impl Ord for ExposureLevel
impl Ord for ExposureLevel
Source§fn cmp(&self, other: &ExposureLevel) -> Ordering
fn cmp(&self, other: &ExposureLevel) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ExposureLevel
impl PartialEq for ExposureLevel
Source§impl PartialOrd for ExposureLevel
impl PartialOrd for ExposureLevel
impl StructuralPartialEq for ExposureLevel
Auto Trait Implementations§
impl Freeze for ExposureLevel
impl RefUnwindSafe for ExposureLevel
impl Send for ExposureLevel
impl Sync for ExposureLevel
impl Unpin for ExposureLevel
impl UnsafeUnpin for ExposureLevel
impl UnwindSafe for ExposureLevel
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