pub enum AccessTier {
ReadOnly,
ReadWrite,
}Expand description
Access tier for a sandbox root. ReadOnly roots permit read operations
only; ReadWrite roots permit both reads and writes. The primary
workspace root is always ReadWrite; extra dirs declared via
[sandbox] extra_readonly_dirs (or the TUI /add-dir --read-only flow)
are ReadOnly.
Variants§
Trait Implementations§
Source§impl Clone for AccessTier
impl Clone for AccessTier
impl Copy for AccessTier
Source§impl Debug for AccessTier
impl Debug for AccessTier
impl Eq for AccessTier
Source§impl PartialEq for AccessTier
impl PartialEq for AccessTier
impl StructuralPartialEq for AccessTier
Auto Trait Implementations§
impl Freeze for AccessTier
impl RefUnwindSafe for AccessTier
impl Send for AccessTier
impl Sync for AccessTier
impl Unpin for AccessTier
impl UnsafeUnpin for AccessTier
impl UnwindSafe for AccessTier
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.impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoMaybeUndefined<T> for T
impl<T> IntoMaybeUndefined<T> for T
Source§fn into_maybe_undefined(self) -> MaybeUndefined<T>
fn into_maybe_undefined(self) -> MaybeUndefined<T>
Converts this value into a three-state builder argument.
Source§impl<T> IntoOption<T> for T
impl<T> IntoOption<T> for T
Source§fn into_option(self) -> Option<T>
fn into_option(self) -> Option<T>
Converts this value into an optional builder argument.