Struct der_parser::ber::PrettyBer
source · pub struct PrettyBer<'a> { /* private fields */ }
Expand description
Pretty-print BER object
This method is recursive by default. To prevent that, unset the Recursive
flag.
Implementations§
source§impl<'a> PrettyBer<'a>
impl<'a> PrettyBer<'a>
pub const fn new( obj: &'a BerObject<'a>, flags: Vec<PrettyPrinterFlag>, indent: usize, increment: usize ) -> Self
pub fn set_flag(&mut self, flag: PrettyPrinterFlag)
pub fn unset_flag(&mut self, flag: PrettyPrinterFlag)
pub fn is_flag_set(&self, flag: PrettyPrinterFlag) -> bool
pub fn next_indent<'b>(&self, obj: &'b BerObject<'_>) -> PrettyBer<'b>
Trait Implementations§
Auto Trait Implementations§
impl<'a> RefUnwindSafe for PrettyBer<'a>
impl<'a> Send for PrettyBer<'a>
impl<'a> Sync for PrettyBer<'a>
impl<'a> Unpin for PrettyBer<'a>
impl<'a> UnwindSafe for PrettyBer<'a>
Blanket Implementations§
source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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