Struct MainEntrypoint
pub struct MainEntrypoint;Expand description
Main Entrypoint struct
Used to implement the entrypoint functions of the different subcommands
Trait Implementations§
§impl Entrypoint for MainEntrypoint
impl Entrypoint for MainEntrypoint
§async fn client_main<W: WindowsApi>(
&mut self,
windows_api: &W,
host: String,
username: Option<String>,
port: Option<u16>,
config: &ClientConfig,
)
async fn client_main<W: WindowsApi>( &mut self, windows_api: &W, host: String, username: Option<String>, port: Option<u16>, config: &ClientConfig, )
Entrypoint for the client subcommand
§async fn daemon_main<W: WindowsApi + Clone + 'static>(
&mut self,
windows_api: &W,
hosts: Vec<String>,
username: Option<String>,
port: Option<u16>,
config: &DaemonConfig,
clusters: &[Cluster],
debug: bool,
)
async fn daemon_main<W: WindowsApi + Clone + 'static>( &mut self, windows_api: &W, hosts: Vec<String>, username: Option<String>, port: Option<u16>, config: &DaemonConfig, clusters: &[Cluster], debug: bool, )
Entrypoint for the daemon subcommand
Auto Trait Implementations§
impl Freeze for MainEntrypoint
impl RefUnwindSafe for MainEntrypoint
impl Send for MainEntrypoint
impl Sync for MainEntrypoint
impl Unpin for MainEntrypoint
impl UnwindSafe for MainEntrypoint
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