Struct j4rs::LocalJarArtifact
source · pub struct LocalJarArtifact { /* private fields */ }
Expand description
Represents a Jar artifact that resides in the local storage.
It can be deployed in order to be loaded and used by j4rs by calling the JVM::deploy_artifact
method.
Implementations§
source§impl LocalJarArtifact
impl LocalJarArtifact
sourcepub fn new(path: &str) -> LocalJarArtifact
pub fn new(path: &str) -> LocalJarArtifact
Creates a new LocalJarArtifact. path is the location of the jar file in the local storage
Trait Implementations§
source§impl Debug for LocalJarArtifact
impl Debug for LocalJarArtifact
source§impl<'a> From<&'a str> for LocalJarArtifact
impl<'a> From<&'a str> for LocalJarArtifact
source§fn from(string: &'a str) -> LocalJarArtifact
fn from(string: &'a str) -> LocalJarArtifact
Converts to this type from the input type.
source§impl From<String> for LocalJarArtifact
impl From<String> for LocalJarArtifact
source§fn from(string: String) -> LocalJarArtifact
fn from(string: String) -> LocalJarArtifact
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for LocalJarArtifact
impl RefUnwindSafe for LocalJarArtifact
impl Send for LocalJarArtifact
impl Sync for LocalJarArtifact
impl Unpin for LocalJarArtifact
impl UnwindSafe for LocalJarArtifact
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