Struct pem::EncodeConfig
source · pub struct EncodeConfig { /* private fields */ }
Expand description
Configuration for Pem encoding
Implementations§
source§impl EncodeConfig
impl EncodeConfig
sourcepub const fn set_line_ending(self, line_ending: LineEnding) -> Self
pub const fn set_line_ending(self, line_ending: LineEnding) -> Self
Set the line ending to use for the encoding.
sourcepub const fn set_line_wrap(self, line_wrap: usize) -> Self
pub const fn set_line_wrap(self, line_wrap: usize) -> Self
Set the line length to use for the encoding.
Trait Implementations§
source§impl Clone for EncodeConfig
impl Clone for EncodeConfig
source§fn clone(&self) -> EncodeConfig
fn clone(&self) -> EncodeConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for EncodeConfig
impl Debug for EncodeConfig
source§impl Default for EncodeConfig
impl Default for EncodeConfig
impl Copy for EncodeConfig
Auto Trait Implementations§
impl Freeze for EncodeConfig
impl RefUnwindSafe for EncodeConfig
impl Send for EncodeConfig
impl Sync for EncodeConfig
impl Unpin for EncodeConfig
impl UnwindSafe for EncodeConfig
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)