pub struct CompressorClientBuilder { /* private fields */ }Implementations§
Source§impl CompressorClientBuilder
impl CompressorClientBuilder
pub fn server(self, name: impl Into<String>, config: ServerConfig) -> Self
pub fn compression_level(self, level: CompressionLevel) -> Self
pub fn server_name(self, server_name: impl Into<String>) -> Self
pub fn include_tools( self, tools: impl IntoIterator<Item = impl Into<String>>, ) -> Self
pub fn exclude_tools( self, tools: impl IntoIterator<Item = impl Into<String>>, ) -> Self
pub fn toonify(self, enabled: bool) -> Self
pub fn mode(self, mode: CompressorMode) -> Self
pub fn build(self) -> CompressorClient
Trait Implementations§
Source§impl Clone for CompressorClientBuilder
impl Clone for CompressorClientBuilder
Source§fn clone(&self) -> CompressorClientBuilder
fn clone(&self) -> CompressorClientBuilder
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CompressorClientBuilder
impl !RefUnwindSafe for CompressorClientBuilder
impl Send for CompressorClientBuilder
impl Sync for CompressorClientBuilder
impl Unpin for CompressorClientBuilder
impl UnsafeUnpin for CompressorClientBuilder
impl !UnwindSafe for CompressorClientBuilder
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