pub enum NetworkRead {
GitHub,
Npm,
}Expand description
A recognized network read. Recognition alone never grants shell authority.
Variants§
GitHub
A gh view/list read against github.com.
Npm
Potential npm metadata network use, retained for no-network denials. npm configuration can change the host; this never grants admission.
Implementations§
Trait Implementations§
Source§impl Clone for NetworkRead
impl Clone for NetworkRead
impl Copy for NetworkRead
Source§impl Debug for NetworkRead
impl Debug for NetworkRead
impl Eq for NetworkRead
Source§impl Hash for NetworkRead
impl Hash for NetworkRead
Source§impl PartialEq for NetworkRead
impl PartialEq for NetworkRead
impl StructuralPartialEq for NetworkRead
Auto Trait Implementations§
impl Freeze for NetworkRead
impl RefUnwindSafe for NetworkRead
impl Send for NetworkRead
impl Sync for NetworkRead
impl Unpin for NetworkRead
impl UnsafeUnpin for NetworkRead
impl UnwindSafe for NetworkRead
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.