pub struct Shuttle { /* private fields */ }Implementations§
Source§impl Shuttle
impl Shuttle
pub fn new(bin: Binary, env_override: Option<String>) -> Result<Self>
pub async fn run( self, args: ShuttleArgs, provided_path_to_init: bool, ) -> Result<()>
Sourcepub async fn load_project_id(
&mut self,
project_args: &ProjectArgs,
do_linking: bool,
create_missing_project: bool,
) -> Result<()>
pub async fn load_project_id( &mut self, project_args: &ProjectArgs, do_linking: bool, create_missing_project: bool, ) -> Result<()>
Ensures a project id is known, either by explicit –id/–name args or config file(s) or by asking user to link the project folder.
Auto Trait Implementations§
impl Freeze for Shuttle
impl !RefUnwindSafe for Shuttle
impl Send for Shuttle
impl Sync for Shuttle
impl Unpin for Shuttle
impl !UnwindSafe for Shuttle
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