Struct tracing_subscriber::fmt::format::DefaultVisitor [−][src]
The visitor produced by DefaultFields’s MakeVisitor implementation.
Implementations
impl<'a> DefaultVisitor<'a>[src]
pub fn new(writer: &'a mut dyn Write, is_empty: bool) -> Self[src]
Returns a new default visitor that formats to the provided writer.
Arguments
writer: the writer to format to.is_empty: whether or not any fields have been previously written to that writer.
Trait Implementations
impl<'a> Debug for DefaultVisitor<'a>[src]
impl<'a> Visit for DefaultVisitor<'a>[src]
fn record_str(&mut self, field: &Field, value: &str)[src]
fn record_error(&mut self, field: &Field, value: &(dyn Error + 'static))[src]
fn record_debug(&mut self, field: &Field, value: &dyn Debug)[src]
pub fn record_i64(&mut self, field: &Field, value: i64)[src]
pub fn record_u64(&mut self, field: &Field, value: u64)[src]
pub fn record_bool(&mut self, field: &Field, value: bool)[src]
impl<'a> VisitFmt for DefaultVisitor<'a>[src]
impl<'a> VisitOutput<Result<(), Error>> for DefaultVisitor<'a>[src]
Auto Trait Implementations
impl<'a> !RefUnwindSafe for DefaultVisitor<'a>
impl<'a> !Send for DefaultVisitor<'a>
impl<'a> !Sync for DefaultVisitor<'a>
impl<'a> Unpin for DefaultVisitor<'a>
impl<'a> !UnwindSafe for DefaultVisitor<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T> Instrument for T[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,