pub struct StdinConfig {
pub min_length: usize,
pub encodings: Vec<Encoding>,
pub buffer_size: usize,
}
Fields§
§min_length: usize
§encodings: Vec<Encoding>
§buffer_size: usize
Implementations§
Source§impl StdinConfig
impl StdinConfig
pub fn new() -> Self
pub fn with_buffer_size(self, buffer_size: usize) -> Self
pub fn with_min_length(self, min_length: usize) -> Self
pub fn with_encoding(self, encoding: Encoding) -> Self
pub fn with_encodings(self, encodings: Vec<Encoding>) -> Self
Trait Implementations§
Source§impl Default for StdinConfig
impl Default for StdinConfig
impl Config for StdinConfig
Auto Trait Implementations§
impl Freeze for StdinConfig
impl RefUnwindSafe for StdinConfig
impl Send for StdinConfig
impl Sync for StdinConfig
impl Unpin for StdinConfig
impl UnwindSafe for StdinConfig
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