pub struct Alias {
pub task: String,
pub args: VarArgs,
}
Fields§
§task: String
§args: VarArgs
Implementations§
Source§impl Alias
impl Alias
pub fn run<'life0, 'life_self, 'async_recursion, CommandGeneric>(
&'life_self self,
parser: &'life0 impl ScriptParser<CommandGeneric>,
args: VarArgs,
) -> Pin<Box<dyn Future<Output = Result<ExitStatus, ()>> + 'async_recursion>>where
CommandGeneric: 'async_recursion + Command,
'life0: 'async_recursion,
'life_self: 'async_recursion,
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Alias
impl RefUnwindSafe for Alias
impl Send for Alias
impl Sync for Alias
impl Unpin for Alias
impl UnwindSafe for Alias
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