pub enum BunCommand {
Install,
Run,
Test,
Build,
}Expand description
Common Bun command labels.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for BunCommand
impl Clone for BunCommand
Source§fn clone(&self) -> BunCommand
fn clone(&self) -> BunCommand
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 moreSource§impl Debug for BunCommand
impl Debug for BunCommand
Source§impl FromStr for BunCommand
impl FromStr for BunCommand
Source§type Err = BunCommandParseError
type Err = BunCommandParseError
The associated error which can be returned from parsing.
Source§fn from_str(input: &str) -> Result<BunCommand, <BunCommand as FromStr>::Err>
fn from_str(input: &str) -> Result<BunCommand, <BunCommand as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for BunCommand
impl Hash for BunCommand
Source§impl Ord for BunCommand
impl Ord for BunCommand
Source§fn cmp(&self, other: &BunCommand) -> Ordering
fn cmp(&self, other: &BunCommand) -> Ordering
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 PartialEq for BunCommand
impl PartialEq for BunCommand
Source§fn eq(&self, other: &BunCommand) -> bool
fn eq(&self, other: &BunCommand) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for BunCommand
impl PartialOrd for BunCommand
impl Copy for BunCommand
impl Eq for BunCommand
impl StructuralPartialEq for BunCommand
Auto Trait Implementations§
impl Freeze for BunCommand
impl RefUnwindSafe for BunCommand
impl Send for BunCommand
impl Sync for BunCommand
impl Unpin for BunCommand
impl UnsafeUnpin for BunCommand
impl UnwindSafe for BunCommand
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