pub struct JarManager { /* private fields */ }Implementations§
Source§impl JarManager
impl JarManager
pub fn new() -> ServiceResult<Self>
pub fn with_paths(submodule_dir: PathBuf, cache_dir: PathBuf) -> Self
pub fn with_java_home(self, java_home: Option<&Path>) -> Self
pub fn ensure_jar(&self) -> ServiceResult<PathBuf>
pub fn jar_exists(&self) -> bool
pub fn jar_path(&self) -> PathBuf
pub fn rebuild(&self) -> ServiceResult<PathBuf>
pub fn cache_dir(&self) -> &Path
Auto Trait Implementations§
impl Freeze for JarManager
impl RefUnwindSafe for JarManager
impl Send for JarManager
impl Sync for JarManager
impl Unpin for JarManager
impl UnwindSafe for JarManager
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