Struct fuels_programs::logs::LogFormatter
source · pub struct LogFormatter { /* private fields */ }
Implementations§
source§impl LogFormatter
impl LogFormatter
pub fn new<T: Tokenizable + Parameterize + Debug + 'static>() -> Self
pub fn can_handle_type<T: Tokenizable + Parameterize + 'static>(&self) -> bool
pub fn format(&self, bytes: &[u8]) -> Result<String>
Trait Implementations§
source§impl Clone for LogFormatter
impl Clone for LogFormatter
source§fn clone(&self) -> LogFormatter
fn clone(&self) -> LogFormatter
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 moreAuto Trait Implementations§
impl RefUnwindSafe for LogFormatter
impl Send for LogFormatter
impl Sync for LogFormatter
impl Unpin for LogFormatter
impl UnwindSafe for LogFormatter
Blanket Implementations§
source§impl<T> AnyDebug for Twhere
T: Any + Debug,
impl<T> AnyDebug for Twhere T: Any + Debug,
source§fn as_any_ref(&self) -> &(dyn Any + 'static)
fn as_any_ref(&self) -> &(dyn Any + 'static)
Returns a reference to the underlying type as
Any
.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