[−][src]Struct artifactory_web_api::Client
An unauthenticated Artifactory client.
Implementations
impl Client
[src]
pub fn new<S: AsRef<str>>(origin: S) -> Self
[src]
Create a new client without any authentication.
This can be used for read-only access of artifacts.
pub async fn file_info<'_>(
&'_ self,
path: ArtifactoryPath
) -> Result<FileInfo, Error>
[src]
&'_ self,
path: ArtifactoryPath
) -> Result<FileInfo, Error>
Fetch metadata about a remote artifact.
pub async fn pull<F, '_, '_>(
&'_ self,
path: ArtifactoryPath,
dest: &'_ Path,
progress: F
) -> Result<(), Error> where
F: FnMut(DownloadProgress),
[src]
&'_ self,
path: ArtifactoryPath,
dest: &'_ Path,
progress: F
) -> Result<(), Error> where
F: FnMut(DownloadProgress),
Fetch a remote artifact.
An optional progress closure can be provided to get updates on the transfer.
Auto Trait Implementations
impl RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl UnwindSafe for Client
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,