Trait DebugBytes

Source
pub trait DebugBytes: Debug {
    // Required method
    unsafe fn fmt_bytes(
        _self_: &[MaybeUninit<u8>],
        f: &mut Formatter<'_>,
    ) -> Result<(), Error>;
}

Required Methods§

Source

unsafe fn fmt_bytes( _self_: &[MaybeUninit<u8>], f: &mut Formatter<'_>, ) -> Result<(), Error>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<T: Debug + 'static> DebugBytes for T