pub struct OsuBuilder { /* private fields */ }Expand description
A builder for the main Osu client.
Implementations§
Source§impl OsuBuilder
impl OsuBuilder
Sourcepub fn reqwest_client(self, client: ReqwestClientBuilder) -> Self
pub fn reqwest_client(self, client: ReqwestClientBuilder) -> Self
Set a pre-configured reqwest client builder to build off of.
The timeout settings in the reqwest client will be overwritten by those in this builder.
The default client uses Rustls as its TLS backend.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OsuBuilder
impl !RefUnwindSafe for OsuBuilder
impl Send for OsuBuilder
impl Sync for OsuBuilder
impl Unpin for OsuBuilder
impl !UnwindSafe for OsuBuilder
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