Skip to main content

EcapReg

Struct EcapReg 

Source
pub struct EcapReg(/* private fields */);
Expand description

Extended Capability Register (MMIO offset 0x010, 64-bit, RO). §11.4.3.

Reports queued invalidation, interrupt remapping, scalable translation, and second-stage accessed/dirty capabilities.

Implementations§

Source§

impl EcapReg

Source

pub const fn new() -> Self

Creates a new default initialized bitfield.

Source

pub const fn from_bits(bits: u64) -> Self

Convert from bits.

Source

pub const fn into_bits(self) -> u64

Convert into bits.

Source

pub const fn c(&self) -> bool

Page-walk Coherency — 1 = hardware ensures coherency.

Bits: 0..1

Source

pub const fn with_c_checked(self, value: bool) -> Result<Self, ()>

Page-walk Coherency — 1 = hardware ensures coherency.

Bits: 0..1

Source

pub const fn with_c(self, value: bool) -> Self

Page-walk Coherency — 1 = hardware ensures coherency.

Bits: 0..1

Source

pub const fn set_c(&mut self, value: bool)

Page-walk Coherency — 1 = hardware ensures coherency.

Bits: 0..1

Source

pub const fn set_c_checked(&mut self, value: bool) -> Result<(), ()>

Page-walk Coherency — 1 = hardware ensures coherency.

Bits: 0..1

Source

pub const fn qi(&self) -> bool

Queued Invalidation support.

Bits: 1..2

Source

pub const fn with_qi_checked(self, value: bool) -> Result<Self, ()>

Queued Invalidation support.

Bits: 1..2

Source

pub const fn with_qi(self, value: bool) -> Self

Queued Invalidation support.

Bits: 1..2

Source

pub const fn set_qi(&mut self, value: bool)

Queued Invalidation support.

Bits: 1..2

Source

pub const fn set_qi_checked(&mut self, value: bool) -> Result<(), ()>

Queued Invalidation support.

Bits: 1..2

Source

pub const fn dt(&self) -> bool

Device-TLB support (not implemented).

Bits: 2..3

Source

pub const fn with_dt_checked(self, value: bool) -> Result<Self, ()>

Device-TLB support (not implemented).

Bits: 2..3

Source

pub const fn with_dt(self, value: bool) -> Self

Device-TLB support (not implemented).

Bits: 2..3

Source

pub const fn set_dt(&mut self, value: bool)

Device-TLB support (not implemented).

Bits: 2..3

Source

pub const fn set_dt_checked(&mut self, value: bool) -> Result<(), ()>

Device-TLB support (not implemented).

Bits: 2..3

Source

pub const fn ir(&self) -> bool

Interrupt Remapping support.

Bits: 3..4

Source

pub const fn with_ir_checked(self, value: bool) -> Result<Self, ()>

Interrupt Remapping support.

Bits: 3..4

Source

pub const fn with_ir(self, value: bool) -> Self

Interrupt Remapping support.

Bits: 3..4

Source

pub const fn set_ir(&mut self, value: bool)

Interrupt Remapping support.

Bits: 3..4

Source

pub const fn set_ir_checked(&mut self, value: bool) -> Result<(), ()>

Interrupt Remapping support.

Bits: 3..4

Source

pub const fn eim(&self) -> bool

Extended Interrupt Mode — 1 = x2APIC (32-bit destination IDs).

Bits: 4..5

Source

pub const fn with_eim_checked(self, value: bool) -> Result<Self, ()>

Extended Interrupt Mode — 1 = x2APIC (32-bit destination IDs).

Bits: 4..5

Source

pub const fn with_eim(self, value: bool) -> Self

Extended Interrupt Mode — 1 = x2APIC (32-bit destination IDs).

Bits: 4..5

Source

pub const fn set_eim(&mut self, value: bool)

Extended Interrupt Mode — 1 = x2APIC (32-bit destination IDs).

Bits: 4..5

Source

pub const fn set_eim_checked(&mut self, value: bool) -> Result<(), ()>

Extended Interrupt Mode — 1 = x2APIC (32-bit destination IDs).

Bits: 4..5

Source

pub const fn pt(&self) -> bool

Pass Through support.

Bits: 6..7

Source

pub const fn with_pt_checked(self, value: bool) -> Result<Self, ()>

Pass Through support.

Bits: 6..7

Source

pub const fn with_pt(self, value: bool) -> Self

Pass Through support.

Bits: 6..7

Source

pub const fn set_pt(&mut self, value: bool)

Pass Through support.

Bits: 6..7

Source

pub const fn set_pt_checked(&mut self, value: bool) -> Result<(), ()>

Pass Through support.

Bits: 6..7

Source

pub const fn sc(&self) -> bool

Snoop Control support.

Bits: 7..8

Source

pub const fn with_sc_checked(self, value: bool) -> Result<Self, ()>

Snoop Control support.

Bits: 7..8

Source

pub const fn with_sc(self, value: bool) -> Self

Snoop Control support.

Bits: 7..8

Source

pub const fn set_sc(&mut self, value: bool)

Snoop Control support.

Bits: 7..8

Source

pub const fn set_sc_checked(&mut self, value: bool) -> Result<(), ()>

Snoop Control support.

Bits: 7..8

Source

pub const fn iro(&self) -> u16

IOTLB Register Offset (10 bits). Offset in 16-byte units from register base. IRO=0x10 → offset 0x100.

Bits: 8..18

Source

pub const fn with_iro_checked(self, value: u16) -> Result<Self, ()>

IOTLB Register Offset (10 bits). Offset in 16-byte units from register base. IRO=0x10 → offset 0x100.

Bits: 8..18

Source

pub const fn with_iro(self, value: u16) -> Self

IOTLB Register Offset (10 bits). Offset in 16-byte units from register base. IRO=0x10 → offset 0x100.

Bits: 8..18

Source

pub const fn set_iro(&mut self, value: u16)

IOTLB Register Offset (10 bits). Offset in 16-byte units from register base. IRO=0x10 → offset 0x100.

Bits: 8..18

Source

pub const fn set_iro_checked(&mut self, value: u16) -> Result<(), ()>

IOTLB Register Offset (10 bits). Offset in 16-byte units from register base. IRO=0x10 → offset 0x100.

Bits: 8..18

Source

pub const fn mhmv(&self) -> u8

Maximum Handle Mask Value (4 bits) for interrupt remapping.

Bits: 20..24

Source

pub const fn with_mhmv_checked(self, value: u8) -> Result<Self, ()>

Maximum Handle Mask Value (4 bits) for interrupt remapping.

Bits: 20..24

Source

pub const fn with_mhmv(self, value: u8) -> Self

Maximum Handle Mask Value (4 bits) for interrupt remapping.

Bits: 20..24

Source

pub const fn set_mhmv(&mut self, value: u8)

Maximum Handle Mask Value (4 bits) for interrupt remapping.

Bits: 20..24

Source

pub const fn set_mhmv_checked(&mut self, value: u8) -> Result<(), ()>

Maximum Handle Mask Value (4 bits) for interrupt remapping.

Bits: 20..24

Source

pub const fn mts(&self) -> bool

Memory Type Support (not used).

Bits: 25..26

Source

pub const fn with_mts_checked(self, value: bool) -> Result<Self, ()>

Memory Type Support (not used).

Bits: 25..26

Source

pub const fn with_mts(self, value: bool) -> Self

Memory Type Support (not used).

Bits: 25..26

Source

pub const fn set_mts(&mut self, value: bool)

Memory Type Support (not used).

Bits: 25..26

Source

pub const fn set_mts_checked(&mut self, value: bool) -> Result<(), ()>

Memory Type Support (not used).

Bits: 25..26

Source

pub const fn nest(&self) -> bool

Nested Translation support (not implemented).

Bits: 26..27

Source

pub const fn with_nest_checked(self, value: bool) -> Result<Self, ()>

Nested Translation support (not implemented).

Bits: 26..27

Source

pub const fn with_nest(self, value: bool) -> Self

Nested Translation support (not implemented).

Bits: 26..27

Source

pub const fn set_nest(&mut self, value: bool)

Nested Translation support (not implemented).

Bits: 26..27

Source

pub const fn set_nest_checked(&mut self, value: bool) -> Result<(), ()>

Nested Translation support (not implemented).

Bits: 26..27

Source

pub const fn prs(&self) -> bool

Page Request support (not implemented).

Bits: 29..30

Source

pub const fn with_prs_checked(self, value: bool) -> Result<Self, ()>

Page Request support (not implemented).

Bits: 29..30

Source

pub const fn with_prs(self, value: bool) -> Self

Page Request support (not implemented).

Bits: 29..30

Source

pub const fn set_prs(&mut self, value: bool)

Page Request support (not implemented).

Bits: 29..30

Source

pub const fn set_prs_checked(&mut self, value: bool) -> Result<(), ()>

Page Request support (not implemented).

Bits: 29..30

Source

pub const fn ers(&self) -> bool

Execute Request support (not implemented).

Bits: 30..31

Source

pub const fn with_ers_checked(self, value: bool) -> Result<Self, ()>

Execute Request support (not implemented).

Bits: 30..31

Source

pub const fn with_ers(self, value: bool) -> Self

Execute Request support (not implemented).

Bits: 30..31

Source

pub const fn set_ers(&mut self, value: bool)

Execute Request support (not implemented).

Bits: 30..31

Source

pub const fn set_ers_checked(&mut self, value: bool) -> Result<(), ()>

Execute Request support (not implemented).

Bits: 30..31

Source

pub const fn srs(&self) -> bool

Supervisor Request support (not implemented).

Bits: 31..32

Source

pub const fn with_srs_checked(self, value: bool) -> Result<Self, ()>

Supervisor Request support (not implemented).

Bits: 31..32

Source

pub const fn with_srs(self, value: bool) -> Self

Supervisor Request support (not implemented).

Bits: 31..32

Source

pub const fn set_srs(&mut self, value: bool)

Supervisor Request support (not implemented).

Bits: 31..32

Source

pub const fn set_srs_checked(&mut self, value: bool) -> Result<(), ()>

Supervisor Request support (not implemented).

Bits: 31..32

Source

pub const fn nwfs(&self) -> bool

No Write Flag support.

Bits: 33..34

Source

pub const fn with_nwfs_checked(self, value: bool) -> Result<Self, ()>

No Write Flag support.

Bits: 33..34

Source

pub const fn with_nwfs(self, value: bool) -> Self

No Write Flag support.

Bits: 33..34

Source

pub const fn set_nwfs(&mut self, value: bool)

No Write Flag support.

Bits: 33..34

Source

pub const fn set_nwfs_checked(&mut self, value: bool) -> Result<(), ()>

No Write Flag support.

Bits: 33..34

Source

pub const fn eafs(&self) -> bool

Extended Accessed Flag support.

Bits: 34..35

Source

pub const fn with_eafs_checked(self, value: bool) -> Result<Self, ()>

Extended Accessed Flag support.

Bits: 34..35

Source

pub const fn with_eafs(self, value: bool) -> Self

Extended Accessed Flag support.

Bits: 34..35

Source

pub const fn set_eafs(&mut self, value: bool)

Extended Accessed Flag support.

Bits: 34..35

Source

pub const fn set_eafs_checked(&mut self, value: bool) -> Result<(), ()>

Extended Accessed Flag support.

Bits: 34..35

Source

pub const fn pss(&self) -> u8

Process Address Space ID Size (5 bits, not used).

Bits: 35..40

Source

pub const fn with_pss_checked(self, value: u8) -> Result<Self, ()>

Process Address Space ID Size (5 bits, not used).

Bits: 35..40

Source

pub const fn with_pss(self, value: u8) -> Self

Process Address Space ID Size (5 bits, not used).

Bits: 35..40

Source

pub const fn set_pss(&mut self, value: u8)

Process Address Space ID Size (5 bits, not used).

Bits: 35..40

Source

pub const fn set_pss_checked(&mut self, value: u8) -> Result<(), ()>

Process Address Space ID Size (5 bits, not used).

Bits: 35..40

Source

pub const fn pasid(&self) -> bool

PASID Translation support (not implemented).

Bits: 40..41

Source

pub const fn with_pasid_checked(self, value: bool) -> Result<Self, ()>

PASID Translation support (not implemented).

Bits: 40..41

Source

pub const fn with_pasid(self, value: bool) -> Self

PASID Translation support (not implemented).

Bits: 40..41

Source

pub const fn set_pasid(&mut self, value: bool)

PASID Translation support (not implemented).

Bits: 40..41

Source

pub const fn set_pasid_checked(&mut self, value: bool) -> Result<(), ()>

PASID Translation support (not implemented).

Bits: 40..41

Source

pub const fn dit(&self) -> bool

Device-TLB Invalidation Throttle (not used).

Bits: 41..42

Source

pub const fn with_dit_checked(self, value: bool) -> Result<Self, ()>

Device-TLB Invalidation Throttle (not used).

Bits: 41..42

Source

pub const fn with_dit(self, value: bool) -> Self

Device-TLB Invalidation Throttle (not used).

Bits: 41..42

Source

pub const fn set_dit(&mut self, value: bool)

Device-TLB Invalidation Throttle (not used).

Bits: 41..42

Source

pub const fn set_dit_checked(&mut self, value: bool) -> Result<(), ()>

Device-TLB Invalidation Throttle (not used).

Bits: 41..42

Source

pub const fn pds(&self) -> bool

Page-request Drain Support (not implemented).

Bits: 42..43

Source

pub const fn with_pds_checked(self, value: bool) -> Result<Self, ()>

Page-request Drain Support (not implemented).

Bits: 42..43

Source

pub const fn with_pds(self, value: bool) -> Self

Page-request Drain Support (not implemented).

Bits: 42..43

Source

pub const fn set_pds(&mut self, value: bool)

Page-request Drain Support (not implemented).

Bits: 42..43

Source

pub const fn set_pds_checked(&mut self, value: bool) -> Result<(), ()>

Page-request Drain Support (not implemented).

Bits: 42..43

Source

pub const fn smts(&self) -> bool

Scalable-mode DMA remapping through context and PASID tables.

Bits: 43..44

Source

pub const fn with_smts_checked(self, value: bool) -> Result<Self, ()>

Scalable-mode DMA remapping through context and PASID tables.

Bits: 43..44

Source

pub const fn with_smts(self, value: bool) -> Self

Scalable-mode DMA remapping through context and PASID tables.

Bits: 43..44

Source

pub const fn set_smts(&mut self, value: bool)

Scalable-mode DMA remapping through context and PASID tables.

Bits: 43..44

Source

pub const fn set_smts_checked(&mut self, value: bool) -> Result<(), ()>

Scalable-mode DMA remapping through context and PASID tables.

Bits: 43..44

Source

pub const fn vcs(&self) -> bool

Virtual Command support (not used).

Bits: 44..45

Source

pub const fn with_vcs_checked(self, value: bool) -> Result<Self, ()>

Virtual Command support (not used).

Bits: 44..45

Source

pub const fn with_vcs(self, value: bool) -> Self

Virtual Command support (not used).

Bits: 44..45

Source

pub const fn set_vcs(&mut self, value: bool)

Virtual Command support (not used).

Bits: 44..45

Source

pub const fn set_vcs_checked(&mut self, value: bool) -> Result<(), ()>

Virtual Command support (not used).

Bits: 44..45

Source

pub const fn ssads(&self) -> bool

Second-stage accessed/dirty flag support, enabled by PASID-entry SSADE.

Bits: 45..46

Source

pub const fn with_ssads_checked(self, value: bool) -> Result<Self, ()>

Second-stage accessed/dirty flag support, enabled by PASID-entry SSADE.

Bits: 45..46

Source

pub const fn with_ssads(self, value: bool) -> Self

Second-stage accessed/dirty flag support, enabled by PASID-entry SSADE.

Bits: 45..46

Source

pub const fn set_ssads(&mut self, value: bool)

Second-stage accessed/dirty flag support, enabled by PASID-entry SSADE.

Bits: 45..46

Source

pub const fn set_ssads_checked(&mut self, value: bool) -> Result<(), ()>

Second-stage accessed/dirty flag support, enabled by PASID-entry SSADE.

Bits: 45..46

Source

pub const fn ssts(&self) -> bool

Second-stage translation support in scalable mode.

Bits: 46..47

Source

pub const fn with_ssts_checked(self, value: bool) -> Result<Self, ()>

Second-stage translation support in scalable mode.

Bits: 46..47

Source

pub const fn with_ssts(self, value: bool) -> Self

Second-stage translation support in scalable mode.

Bits: 46..47

Source

pub const fn set_ssts(&mut self, value: bool)

Second-stage translation support in scalable mode.

Bits: 46..47

Source

pub const fn set_ssts_checked(&mut self, value: bool) -> Result<(), ()>

Second-stage translation support in scalable mode.

Bits: 46..47

Source

pub const fn flts(&self) -> bool

First-stage Translation Support (scalable mode, not used).

Bits: 47..48

Source

pub const fn with_flts_checked(self, value: bool) -> Result<Self, ()>

First-stage Translation Support (scalable mode, not used).

Bits: 47..48

Source

pub const fn with_flts(self, value: bool) -> Self

First-stage Translation Support (scalable mode, not used).

Bits: 47..48

Source

pub const fn set_flts(&mut self, value: bool)

First-stage Translation Support (scalable mode, not used).

Bits: 47..48

Source

pub const fn set_flts_checked(&mut self, value: bool) -> Result<(), ()>

First-stage Translation Support (scalable mode, not used).

Bits: 47..48

Source

pub const fn smpwcs(&self) -> bool

Scalable-mode page walks snoop according to PASID-entry PWSNP.

Bits: 48..49

Source

pub const fn with_smpwcs_checked(self, value: bool) -> Result<Self, ()>

Scalable-mode page walks snoop according to PASID-entry PWSNP.

Bits: 48..49

Source

pub const fn with_smpwcs(self, value: bool) -> Self

Scalable-mode page walks snoop according to PASID-entry PWSNP.

Bits: 48..49

Source

pub const fn set_smpwcs(&mut self, value: bool)

Scalable-mode page walks snoop according to PASID-entry PWSNP.

Bits: 48..49

Source

pub const fn set_smpwcs_checked(&mut self, value: bool) -> Result<(), ()>

Scalable-mode page walks snoop according to PASID-entry PWSNP.

Bits: 48..49

Source

pub const fn rps(&self) -> bool

Context-entry RID_PASID support for requests without an explicit PASID.

Bits: 49..50

Source

pub const fn with_rps_checked(self, value: bool) -> Result<Self, ()>

Context-entry RID_PASID support for requests without an explicit PASID.

Bits: 49..50

Source

pub const fn with_rps(self, value: bool) -> Self

Context-entry RID_PASID support for requests without an explicit PASID.

Bits: 49..50

Source

pub const fn set_rps(&mut self, value: bool)

Context-entry RID_PASID support for requests without an explicit PASID.

Bits: 49..50

Source

pub const fn set_rps_checked(&mut self, value: bool) -> Result<(), ()>

Context-entry RID_PASID support for requests without an explicit PASID.

Bits: 49..50

Source

pub const fn pms(&self) -> bool

Performance Monitoring Support (not used).

Bits: 51..52

Source

pub const fn with_pms_checked(self, value: bool) -> Result<Self, ()>

Performance Monitoring Support (not used).

Bits: 51..52

Source

pub const fn with_pms(self, value: bool) -> Self

Performance Monitoring Support (not used).

Bits: 51..52

Source

pub const fn set_pms(&mut self, value: bool)

Performance Monitoring Support (not used).

Bits: 51..52

Source

pub const fn set_pms_checked(&mut self, value: bool) -> Result<(), ()>

Performance Monitoring Support (not used).

Bits: 51..52

Source

pub const fn adms(&self) -> bool

Abort DMA Mode Support (not used).

Bits: 52..53

Source

pub const fn with_adms_checked(self, value: bool) -> Result<Self, ()>

Abort DMA Mode Support (not used).

Bits: 52..53

Source

pub const fn with_adms(self, value: bool) -> Self

Abort DMA Mode Support (not used).

Bits: 52..53

Source

pub const fn set_adms(&mut self, value: bool)

Abort DMA Mode Support (not used).

Bits: 52..53

Source

pub const fn set_adms_checked(&mut self, value: bool) -> Result<(), ()>

Abort DMA Mode Support (not used).

Bits: 52..53

Source

pub const fn rprivs(&self) -> bool

RID_PRIV Support (not used).

Bits: 53..54

Source

pub const fn with_rprivs_checked(self, value: bool) -> Result<Self, ()>

RID_PRIV Support (not used).

Bits: 53..54

Source

pub const fn with_rprivs(self, value: bool) -> Self

RID_PRIV Support (not used).

Bits: 53..54

Source

pub const fn set_rprivs(&mut self, value: bool)

RID_PRIV Support (not used).

Bits: 53..54

Source

pub const fn set_rprivs_checked(&mut self, value: bool) -> Result<(), ()>

RID_PRIV Support (not used).

Bits: 53..54

Source

pub const fn sms(&self) -> bool

Stop Marker Support (not used).

Bits: 58..59

Source

pub const fn with_sms_checked(self, value: bool) -> Result<Self, ()>

Stop Marker Support (not used).

Bits: 58..59

Source

pub const fn with_sms(self, value: bool) -> Self

Stop Marker Support (not used).

Bits: 58..59

Source

pub const fn set_sms(&mut self, value: bool)

Stop Marker Support (not used).

Bits: 58..59

Source

pub const fn set_sms_checked(&mut self, value: bool) -> Result<(), ()>

Stop Marker Support (not used).

Bits: 58..59

Trait Implementations§

Source§

impl Clone for EcapReg

Source§

fn clone(&self) -> EcapReg

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for EcapReg

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for EcapReg

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl From<EcapReg> for u64

Source§

fn from(v: EcapReg) -> u64

Converts to this type from the input type.
Source§

impl From<u64> for EcapReg

Source§

fn from(v: u64) -> Self

Converts to this type from the input type.
Source§

impl Inspect for EcapReg

Source§

fn inspect(&self, req: Request<'_>)

Inspects the object.
Source§

impl Copy for EcapReg

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more