pub enum EnvironmentBase {
Kernel,
StandardLibrary,
}Expand description
The trusted base an environment is rebuilt on. The checker builds it; the certificate only names it.
Variants§
Kernel
The bare kernel: no declarations at all. An imported environment brings everything it uses, and may not take a name the standard library gives native meaning to.
StandardLibrary
The standard LOGOS prelude, PRELUDE_VERSION.
Trait Implementations§
Source§impl Clone for EnvironmentBase
impl Clone for EnvironmentBase
Source§fn clone(&self) -> EnvironmentBase
fn clone(&self) -> EnvironmentBase
Returns a duplicate of the value. Read more
1.0.0 · 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 EnvironmentBase
impl Debug for EnvironmentBase
Source§impl<'de> Deserialize<'de> for EnvironmentBase
impl<'de> Deserialize<'de> for EnvironmentBase
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for EnvironmentBase
impl PartialEq for EnvironmentBase
Source§impl Serialize for EnvironmentBase
impl Serialize for EnvironmentBase
impl Copy for EnvironmentBase
impl Eq for EnvironmentBase
impl StructuralPartialEq for EnvironmentBase
Auto Trait Implementations§
impl Freeze for EnvironmentBase
impl RefUnwindSafe for EnvironmentBase
impl Send for EnvironmentBase
impl Sync for EnvironmentBase
impl Unpin for EnvironmentBase
impl UnsafeUnpin for EnvironmentBase
impl UnwindSafe for EnvironmentBase
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