pub struct RemoteAnalyzer { /* private fields */ }Implementations§
Source§impl RemoteAnalyzer
impl RemoteAnalyzer
pub fn new() -> Self
pub fn set_progress_bar(&mut self, progress_bar: Option<ProgressBar>)
pub fn set_github_token(&mut self, token: &str)
pub fn set_timeout(&mut self, timeout: u64)
pub fn set_allow_insecure(&mut self, allow_insecure: bool)
pub async fn analyze_url(&self, url: &str) -> Result<ProjectAnalysis>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RemoteAnalyzer
impl !RefUnwindSafe for RemoteAnalyzer
impl Send for RemoteAnalyzer
impl Sync for RemoteAnalyzer
impl Unpin for RemoteAnalyzer
impl !UnwindSafe for RemoteAnalyzer
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