pub enum RuntimeCeiling {
LocalUnsigned,
RemoteUnsigned,
}Expand description
Runtime ceiling derived from the base_url at adapter construction time.
Used by cortex run to gate persistence policy decisions (ADR 0037
weakest-link): a loopback endpoint carries LocalUnsigned; any other
endpoint carries RemoteUnsigned.
Variants§
LocalUnsigned
Endpoint host is a loopback address (localhost, 127.x.x.x, ::1).
RemoteUnsigned
Endpoint host is non-loopback.
Trait Implementations§
Source§impl Clone for RuntimeCeiling
impl Clone for RuntimeCeiling
Source§fn clone(&self) -> RuntimeCeiling
fn clone(&self) -> RuntimeCeiling
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 moreSource§impl Debug for RuntimeCeiling
impl Debug for RuntimeCeiling
Source§impl PartialEq for RuntimeCeiling
impl PartialEq for RuntimeCeiling
Source§fn eq(&self, other: &RuntimeCeiling) -> bool
fn eq(&self, other: &RuntimeCeiling) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for RuntimeCeiling
impl Eq for RuntimeCeiling
impl StructuralPartialEq for RuntimeCeiling
Auto Trait Implementations§
impl Freeze for RuntimeCeiling
impl RefUnwindSafe for RuntimeCeiling
impl Send for RuntimeCeiling
impl Sync for RuntimeCeiling
impl Unpin for RuntimeCeiling
impl UnsafeUnpin for RuntimeCeiling
impl UnwindSafe for RuntimeCeiling
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.