pub enum Profile {
Dev,
Release,
}Expand description
Cargo build profile. v0 inner-loop builds are always Profile::Dev
(workspace [profile.dev] pins opt-level = 0, no wasm-opt, per the
AC#3 latency constraint); Profile::Release exists in the contract so
the identity is honest and a release build can never alias a dev artifact.
Variants§
Implementations§
Trait Implementations§
impl Copy for Profile
impl Eq for Profile
Source§impl Ord for Profile
impl Ord for Profile
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for Profile
impl PartialOrd for Profile
impl StructuralPartialEq for Profile
Auto Trait Implementations§
impl Freeze for Profile
impl RefUnwindSafe for Profile
impl Send for Profile
impl Sync for Profile
impl Unpin for Profile
impl UnsafeUnpin for Profile
impl UnwindSafe for Profile
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