Trait ValueDebug

Source
pub trait ValueDebug:
    Send
    + Sync
    + NonLocalValue {
    // Required methods
    fn dbg(self: Vc<Self>) -> Vc<ValueDebugString>
       where Self: Sized;
    fn dbg_depth(self: Vc<Self>, depth: usize) -> Vc<ValueDebugString>
       where Self: Sized;
}
Expand description

Debug-like trait for Vc types, automatically derived when using turbo_tasks::value and turbo_tasks::value_trait.

§Usage

dbg!(any_vc.dbg().await?);

Required Methods§

Source

fn dbg(self: Vc<Self>) -> Vc<ValueDebugString>
where Self: Sized,

Source

fn dbg_depth(self: Vc<Self>, depth: usize) -> Vc<ValueDebugString>
where Self: Sized,

Like dbg, but with a depth limit.

Trait Implementations§

Implementations on Foreign Types§

Source§

impl ValueDebug for Option<u16>

Source§

fn dbg(self: Vc<Self>) -> Vc<ValueDebugString>

Source§

fn dbg_depth(self: Vc<Self>, depth: usize) -> Vc<ValueDebugString>

Source§

impl ValueDebug for Option<u64>

Source§

fn dbg(self: Vc<Self>) -> Vc<ValueDebugString>

Source§

fn dbg_depth(self: Vc<Self>, depth: usize) -> Vc<ValueDebugString>

Source§

impl ValueDebug for Option<RcStr>

Source§

fn dbg(self: Vc<Self>) -> Vc<ValueDebugString>

Source§

fn dbg_depth(self: Vc<Self>, depth: usize) -> Vc<ValueDebugString>

Source§

impl ValueDebug for Option<String>

Source§

fn dbg(self: Vc<Self>) -> Vc<ValueDebugString>

Source§

fn dbg_depth(self: Vc<Self>, depth: usize) -> Vc<ValueDebugString>

Source§

impl ValueDebug for Value

Source§

fn dbg(self: Vc<Self>) -> Vc<ValueDebugString>

Source§

fn dbg_depth(self: Vc<Self>, depth: usize) -> Vc<ValueDebugString>

Source§

impl ValueDebug for bool

Source§

fn dbg(self: Vc<Self>) -> Vc<ValueDebugString>

Source§

fn dbg_depth(self: Vc<Self>, depth: usize) -> Vc<ValueDebugString>

Source§

impl ValueDebug for i8

Source§

fn dbg(self: Vc<Self>) -> Vc<ValueDebugString>

Source§

fn dbg_depth(self: Vc<Self>, depth: usize) -> Vc<ValueDebugString>

Source§

impl ValueDebug for i16

Source§

fn dbg(self: Vc<Self>) -> Vc<ValueDebugString>

Source§

fn dbg_depth(self: Vc<Self>, depth: usize) -> Vc<ValueDebugString>

Source§

impl ValueDebug for i32

Source§

fn dbg(self: Vc<Self>) -> Vc<ValueDebugString>

Source§

fn dbg_depth(self: Vc<Self>, depth: usize) -> Vc<ValueDebugString>

Source§

impl ValueDebug for i64

Source§

fn dbg(self: Vc<Self>) -> Vc<ValueDebugString>

Source§

fn dbg_depth(self: Vc<Self>, depth: usize) -> Vc<ValueDebugString>

Source§

impl ValueDebug for i128

Source§

fn dbg(self: Vc<Self>) -> Vc<ValueDebugString>

Source§

fn dbg_depth(self: Vc<Self>, depth: usize) -> Vc<ValueDebugString>

Source§

impl ValueDebug for isize

Source§

fn dbg(self: Vc<Self>) -> Vc<ValueDebugString>

Source§

fn dbg_depth(self: Vc<Self>, depth: usize) -> Vc<ValueDebugString>

Source§

impl ValueDebug for u8

Source§

fn dbg(self: Vc<Self>) -> Vc<ValueDebugString>

Source§

fn dbg_depth(self: Vc<Self>, depth: usize) -> Vc<ValueDebugString>

Source§

impl ValueDebug for u16

Source§

fn dbg(self: Vc<Self>) -> Vc<ValueDebugString>

Source§

fn dbg_depth(self: Vc<Self>, depth: usize) -> Vc<ValueDebugString>

Source§

impl ValueDebug for u32

Source§

fn dbg(self: Vc<Self>) -> Vc<ValueDebugString>

Source§

fn dbg_depth(self: Vc<Self>, depth: usize) -> Vc<ValueDebugString>

Source§

impl ValueDebug for u64

Source§

fn dbg(self: Vc<Self>) -> Vc<ValueDebugString>

Source§

fn dbg_depth(self: Vc<Self>, depth: usize) -> Vc<ValueDebugString>

Source§

impl ValueDebug for u128

Source§

fn dbg(self: Vc<Self>) -> Vc<ValueDebugString>

Source§

fn dbg_depth(self: Vc<Self>, depth: usize) -> Vc<ValueDebugString>

Source§

impl ValueDebug for ()

Source§

fn dbg(self: Vc<Self>) -> Vc<ValueDebugString>

Source§

fn dbg_depth(self: Vc<Self>, depth: usize) -> Vc<ValueDebugString>

Source§

impl ValueDebug for usize

Source§

fn dbg(self: Vc<Self>) -> Vc<ValueDebugString>

Source§

fn dbg_depth(self: Vc<Self>, depth: usize) -> Vc<ValueDebugString>

Source§

impl ValueDebug for RcStr

Source§

fn dbg(self: Vc<Self>) -> Vc<ValueDebugString>

Source§

fn dbg_depth(self: Vc<Self>, depth: usize) -> Vc<ValueDebugString>

Source§

impl ValueDebug for String

Source§

fn dbg(self: Vc<Self>) -> Vc<ValueDebugString>

Source§

fn dbg_depth(self: Vc<Self>, depth: usize) -> Vc<ValueDebugString>

Source§

impl ValueDebug for Vec<bool>

Source§

fn dbg(self: Vc<Self>) -> Vc<ValueDebugString>

Source§

fn dbg_depth(self: Vc<Self>, depth: usize) -> Vc<ValueDebugString>

Source§

impl ValueDebug for Vec<u8>

Source§

fn dbg(self: Vc<Self>) -> Vc<ValueDebugString>

Source§

fn dbg_depth(self: Vc<Self>, depth: usize) -> Vc<ValueDebugString>

Source§

impl ValueDebug for Vec<RcStr>

Source§

fn dbg(self: Vc<Self>) -> Vc<ValueDebugString>

Source§

fn dbg_depth(self: Vc<Self>, depth: usize) -> Vc<ValueDebugString>

Source§

impl ValueDebug for Duration

Source§

fn dbg(self: Vc<Self>) -> Vc<ValueDebugString>

Source§

fn dbg_depth(self: Vc<Self>, depth: usize) -> Vc<ValueDebugString>

Implementors§