pub struct CompressorClientBuilder { /* private fields */ }Implementations§
Source§impl CompressorClientBuilder
impl CompressorClientBuilder
pub fn server( self, name: impl Into<String>, config: ServerConfig, ) -> CompressorClientBuilder
pub fn compression_level( self, level: CompressionLevel, ) -> CompressorClientBuilder
pub fn server_name( self, server_name: impl Into<String>, ) -> CompressorClientBuilder
pub fn include_tools( self, tools: impl IntoIterator<Item = impl Into<String>>, ) -> CompressorClientBuilder
pub fn exclude_tools( self, tools: impl IntoIterator<Item = impl Into<String>>, ) -> CompressorClientBuilder
pub fn toonify(self, enabled: bool) -> CompressorClientBuilder
pub fn mode(self, mode: CompressorMode) -> CompressorClientBuilder
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 moreSource§impl Default for CompressorClientBuilder
impl Default for CompressorClientBuilder
Source§fn default() -> CompressorClientBuilder
fn default() -> CompressorClientBuilder
Returns the “default value” for a type. Read more
Auto 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