pub enum GrantSource {
Config,
Sealed,
}Expand description
Where a run’s grants came from, and so what a reader has to change to widen them.
A cove run reads [run.<name>] allow every time it starts, so editing
that table is the answer. A binary cove build produced carries the grant
set it was built with and reads no configuration at all, so the answer
there is to change the table and build again — advice to edit a
cove.toml would be advice that does nothing.
Variants§
Config
The [run.<name>] allow table this run read when it started.
Sealed
The grant set baked into a built binary.
Trait Implementations§
Source§impl Clone for GrantSource
impl Clone for GrantSource
Source§fn clone(&self) -> GrantSource
fn clone(&self) -> GrantSource
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 GrantSource
Source§impl Debug for GrantSource
impl Debug for GrantSource
Source§impl Default for GrantSource
impl Default for GrantSource
Source§fn default() -> GrantSource
fn default() -> GrantSource
Returns the “default value” for a type. Read more
impl Eq for GrantSource
Source§impl PartialEq for GrantSource
impl PartialEq for GrantSource
Source§fn eq(&self, other: &GrantSource) -> bool
fn eq(&self, other: &GrantSource) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GrantSource
Auto Trait Implementations§
impl Freeze for GrantSource
impl RefUnwindSafe for GrantSource
impl Send for GrantSource
impl Sync for GrantSource
impl Unpin for GrantSource
impl UnsafeUnpin for GrantSource
impl UnwindSafe for GrantSource
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.