pub enum LogArg {
None,
U32(u32),
I32(i32),
F32(f32),
Str(&'static str),
}Expand description
A single interpolated argument (plan.md Phase 16): a small closed set
covering the large majority of real log call sites, not a general
Display/Debug payload (which would need real formatting work done
eagerly, defeating the point of deferring it to drain time).
Variants§
None
No argument in this slot (fewer than 2 given to log!).
U32(u32)
I32(i32)
F32(f32)
Str(&'static str)
Trait Implementations§
impl Copy for LogArg
Auto Trait Implementations§
impl Freeze for LogArg
impl RefUnwindSafe for LogArg
impl Send for LogArg
impl Sync for LogArg
impl Unpin for LogArg
impl UnsafeUnpin for LogArg
impl UnwindSafe for LogArg
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