Enum NextJsRuntimeKind
pub enum NextJsRuntimeKind {
NodeJs,
Edge,
}Expand description
Next.js runtime-kind labels.
Variants§
Implementations§
§impl NextJsRuntimeKind
impl NextJsRuntimeKind
Trait Implementations§
§impl Clone for NextJsRuntimeKind
impl Clone for NextJsRuntimeKind
§fn clone(&self) -> NextJsRuntimeKind
fn clone(&self) -> NextJsRuntimeKind
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 more§impl Debug for NextJsRuntimeKind
impl Debug for NextJsRuntimeKind
§impl Display for NextJsRuntimeKind
impl Display for NextJsRuntimeKind
§impl FromStr for NextJsRuntimeKind
impl FromStr for NextJsRuntimeKind
§type Err = NextJsRouteError
type Err = NextJsRouteError
The associated error which can be returned from parsing.
§fn from_str(
input: &str,
) -> Result<NextJsRuntimeKind, <NextJsRuntimeKind as FromStr>::Err>
fn from_str( input: &str, ) -> Result<NextJsRuntimeKind, <NextJsRuntimeKind as FromStr>::Err>
Parses a string
s to return a value of this type. Read more§impl Hash for NextJsRuntimeKind
impl Hash for NextJsRuntimeKind
§impl Ord for NextJsRuntimeKind
impl Ord for NextJsRuntimeKind
§fn cmp(&self, other: &NextJsRuntimeKind) -> Ordering
fn cmp(&self, other: &NextJsRuntimeKind) -> Ordering
1.21.0 · 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
§impl PartialEq for NextJsRuntimeKind
impl PartialEq for NextJsRuntimeKind
§impl PartialOrd for NextJsRuntimeKind
impl PartialOrd for NextJsRuntimeKind
impl Copy for NextJsRuntimeKind
impl Eq for NextJsRuntimeKind
impl StructuralPartialEq for NextJsRuntimeKind
Auto Trait Implementations§
impl Freeze for NextJsRuntimeKind
impl RefUnwindSafe for NextJsRuntimeKind
impl Send for NextJsRuntimeKind
impl Sync for NextJsRuntimeKind
impl Unpin for NextJsRuntimeKind
impl UnsafeUnpin for NextJsRuntimeKind
impl UnwindSafe for NextJsRuntimeKind
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