pub struct FmtConfig { /* private fields */ }Expand description
Configuration passed when initializing a Fmt.
line_limit defines the maximum line length allowed before trying to split.
If set to None, there is no maximum line limit.
seed is used to seed the internal RNG which generates multipart
boundaries. If set to None, the RNG is seeded using randomness from
the operating system.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FmtConfig
impl RefUnwindSafe for FmtConfig
impl Send for FmtConfig
impl Sync for FmtConfig
impl Unpin for FmtConfig
impl UnsafeUnpin for FmtConfig
impl UnwindSafe for FmtConfig
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