Struct oro_client::OroClientBuilder
source · pub struct OroClientBuilder { /* private fields */ }Implementations§
source§impl OroClientBuilder
impl OroClientBuilder
pub fn new() -> Self
pub fn registry(self, registry: Url) -> Self
pub fn cache(self, cache: impl AsRef<Path>) -> Self
pub fn fetch_retries(self, fetch_retries: u32) -> Self
pub fn proxy(self, proxy: bool) -> Self
pub fn proxy_url( self, proxy_url: impl AsRef<str> ) -> Result<Self, OroClientError>
pub fn no_proxy_domain(self, no_proxy_domain: impl AsRef<str>) -> Self
pub fn build(self) -> OroClient
Trait Implementations§
source§impl Clone for OroClientBuilder
impl Clone for OroClientBuilder
source§fn clone(&self) -> OroClientBuilder
fn clone(&self) -> OroClientBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for OroClientBuilder
impl Debug for OroClientBuilder
Auto Trait Implementations§
impl !RefUnwindSafe for OroClientBuilder
impl Send for OroClientBuilder
impl Sync for OroClientBuilder
impl Unpin for OroClientBuilder
impl !UnwindSafe for OroClientBuilder
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