Enum error_stack::fmt::Charset
source · pub enum Charset {
Utf8,
Ascii,
}
Expand description
The available supported charsets
Can be accessed through crate::fmt::HookContext::charset
, and set via
Report::set_charset
.
Variants§
Utf8
Terminal of the user supports utf-8
This is the default if no charset has been explicitly set.
Ascii
Terminal of the user supports ASCII
Trait Implementations§
source§impl PartialEq<Charset> for Charset
impl PartialEq<Charset> for Charset
impl Copy for Charset
impl Eq for Charset
impl StructuralEq for Charset
impl StructuralPartialEq for Charset
Auto Trait Implementations§
impl RefUnwindSafe for Charset
impl Send for Charset
impl Sync for Charset
impl Unpin for Charset
impl UnwindSafe for Charset
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