nvme_spec

Struct IdentifyController

Source
#[repr(C)]
pub struct IdentifyController {
Show 95 fields pub vid: u16, pub ssvid: u16, pub sn: AsciiString<20>, pub mn: AsciiString<40>, pub fr: AsciiString<8>, pub rab: u8, pub ieee: [u8; 3], pub cmic: u8, pub mdts: u8, pub cntlid: u16, pub ver: u32, pub rtd3r: u32, pub rtd3e: u32, pub oaes: Oaes, pub ctratt: u32, pub rrls: u16, pub rsvd1: [u8; 9], pub cntrltype: ControllerType, pub fguid: [u8; 16], pub crdt1: u16, pub crdt2: u16, pub crdt3: u16, pub rsvd2: [u8; 106], pub rsvd3: [u8; 13], pub nvmsr: u8, pub vwci: u8, pub mec: u8, pub oacs: OptionalAdminCommandSupport, pub acl: u8, pub aerl: u8, pub frmw: FirmwareUpdates, pub lpa: u8, pub elpe: u8, pub npss: u8, pub avscc: u8, pub apsta: u8, pub wctemp: u16, pub cctemp: u16, pub mtfa: u16, pub hmpre: u32, pub hmmin: u32, pub tnvmcap: U128<LE>, pub unvmcap: U128<LE>, pub rpmbs: u32, pub edstt: u16, pub dsto: u8, pub fwug: u8, pub kas: u16, pub hctma: u16, pub mntmt: u16, pub mxtmt: u16, pub sanicap: u32, pub hmminds: u32, pub hmmaxd: u16, pub nsetidmax: u16, pub endgidmax: u16, pub anatt: u8, pub anacap: u8, pub anagrpmax: u32, pub nanagrpid: u32, pub pels: u32, pub domain_id: u16, pub rsvd4: [u8; 10], pub megcap: U128<LE>, pub rsvd5: [u8; 128], pub sqes: QueueEntrySize, pub cqes: QueueEntrySize, pub maxcmd: u16, pub nn: u32, pub oncs: Oncs, pub fuses: u16, pub fna: u8, pub vwc: VolatileWriteCache, pub awun: u16, pub awupf: u16, pub icsvscc: u8, pub nwpc: u8, pub acwu: u16, pub copy_descriptor_fmt: u16, pub sgls: u32, pub mnan: u32, pub maxdna: U128<LE>, pub maxcna: u32, pub rsvd6: [u8; 204], pub subnqn: [u8; 256], pub rsvd7: [u8; 768], pub ioccsz: u32, pub iorcsz: u32, pub icdoff: u16, pub fcatt: u8, pub msdbd: u8, pub ofcs: u16, pub rsvd8: [u8; 242], pub power: [u8; 1024], pub vendor: [u8; 1024],
}

Fields§

§vid: u16§ssvid: u16§sn: AsciiString<20>§mn: AsciiString<40>§fr: AsciiString<8>§rab: u8§ieee: [u8; 3]§cmic: u8§mdts: u8

Maximum data transfer size (in minimum page size units, as power of two).

§cntlid: u16§ver: u32§rtd3r: u32§rtd3e: u32§oaes: Oaes§ctratt: u32§rrls: u16§rsvd1: [u8; 9]§cntrltype: ControllerType§fguid: [u8; 16]§crdt1: u16§crdt2: u16§crdt3: u16§rsvd2: [u8; 106]§rsvd3: [u8; 13]§nvmsr: u8§vwci: u8§mec: u8§oacs: OptionalAdminCommandSupport§acl: u8§aerl: u8§frmw: FirmwareUpdates§lpa: u8§elpe: u8§npss: u8§avscc: u8§apsta: u8§wctemp: u16§cctemp: u16§mtfa: u16§hmpre: u32§hmmin: u32§tnvmcap: U128<LE>§unvmcap: U128<LE>§rpmbs: u32§edstt: u16§dsto: u8§fwug: u8§kas: u16§hctma: u16§mntmt: u16§mxtmt: u16§sanicap: u32§hmminds: u32§hmmaxd: u16§nsetidmax: u16§endgidmax: u16§anatt: u8§anacap: u8§anagrpmax: u32§nanagrpid: u32§pels: u32§domain_id: u16§rsvd4: [u8; 10]§megcap: U128<LE>§rsvd5: [u8; 128]§sqes: QueueEntrySize§cqes: QueueEntrySize§maxcmd: u16§nn: u32§oncs: Oncs§fuses: u16§fna: u8§vwc: VolatileWriteCache§awun: u16§awupf: u16§icsvscc: u8§nwpc: u8§acwu: u16§copy_descriptor_fmt: u16§sgls: u32§mnan: u32§maxdna: U128<LE>§maxcna: u32§rsvd6: [u8; 204]§subnqn: [u8; 256]§rsvd7: [u8; 768]§ioccsz: u32§iorcsz: u32§icdoff: u16§fcatt: u8§msdbd: u8§ofcs: u16§rsvd8: [u8; 242]§power: [u8; 1024]§vendor: [u8; 1024]

Trait Implementations§

Source§

impl Clone for IdentifyController

Source§

fn clone(&self) -> IdentifyController

Returns a copy 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 IdentifyController

Source§

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

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

impl FromBytes for IdentifyController
where u16: FromBytes, AsciiString<20>: FromBytes, AsciiString<40>: FromBytes, AsciiString<8>: FromBytes, u8: FromBytes, [u8; 3]: FromBytes, u32: FromBytes, Oaes: FromBytes, [u8; 9]: FromBytes, ControllerType: FromBytes, [u8; 16]: FromBytes, [u8; 106]: FromBytes, [u8; 13]: FromBytes, OptionalAdminCommandSupport: FromBytes, FirmwareUpdates: FromBytes, U128<LE>: FromBytes, [u8; 10]: FromBytes, [u8; 128]: FromBytes, QueueEntrySize: FromBytes, Oncs: FromBytes, VolatileWriteCache: FromBytes, [u8; 204]: FromBytes, [u8; 256]: FromBytes, [u8; 768]: FromBytes, [u8; 242]: FromBytes, [u8; 1024]: FromBytes,

§

fn ref_from_bytes( source: &[u8], ) -> Result<&Self, ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>
where Self: KnownLayout + Immutable,

Interprets the given source as a &Self. Read more
§

fn ref_from_prefix( source: &[u8], ) -> Result<(&Self, &[u8]), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>
where Self: KnownLayout + Immutable,

Interprets the prefix of the given source as a &Self without copying. Read more
§

fn ref_from_suffix( source: &[u8], ) -> Result<(&[u8], &Self), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>
where Self: Immutable + KnownLayout,

Interprets the suffix of the given bytes as a &Self. Read more
§

fn mut_from_bytes( source: &mut [u8], ) -> Result<&mut Self, ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>
where Self: IntoBytes + KnownLayout,

Interprets the given source as a &mut Self. Read more
§

fn mut_from_prefix( source: &mut [u8], ) -> Result<(&mut Self, &mut [u8]), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>
where Self: IntoBytes + KnownLayout,

Interprets the prefix of the given source as a &mut Self without copying. Read more
§

fn mut_from_suffix( source: &mut [u8], ) -> Result<(&mut [u8], &mut Self), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>
where Self: IntoBytes + KnownLayout,

Interprets the suffix of the given source as a &mut Self without copying. Read more
§

fn ref_from_bytes_with_elems( source: &[u8], count: usize, ) -> Result<&Self, ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>
where Self: KnownLayout<PointerMetadata = usize> + Immutable,

Interprets the given source as a &Self with a DST length equal to count. Read more
§

fn ref_from_prefix_with_elems( source: &[u8], count: usize, ) -> Result<(&Self, &[u8]), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>
where Self: KnownLayout<PointerMetadata = usize> + Immutable,

Interprets the prefix of the given source as a DST &Self with length equal to count. Read more
§

fn ref_from_suffix_with_elems( source: &[u8], count: usize, ) -> Result<(&[u8], &Self), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>
where Self: KnownLayout<PointerMetadata = usize> + Immutable,

Interprets the suffix of the given source as a DST &Self with length equal to count. Read more
§

fn mut_from_bytes_with_elems( source: &mut [u8], count: usize, ) -> Result<&mut Self, ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>
where Self: IntoBytes + KnownLayout<PointerMetadata = usize> + Immutable,

Interprets the given source as a &mut Self with a DST length equal to count. Read more
§

fn mut_from_prefix_with_elems( source: &mut [u8], count: usize, ) -> Result<(&mut Self, &mut [u8]), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>
where Self: IntoBytes + KnownLayout<PointerMetadata = usize>,

Interprets the prefix of the given source as a &mut Self with DST length equal to count. Read more
§

fn mut_from_suffix_with_elems( source: &mut [u8], count: usize, ) -> Result<(&mut [u8], &mut Self), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>
where Self: IntoBytes + KnownLayout<PointerMetadata = usize>,

Interprets the suffix of the given source as a &mut Self with DST length equal to count. Read more
§

fn read_from_bytes(source: &[u8]) -> Result<Self, SizeError<&[u8], Self>>
where Self: Sized,

Reads a copy of Self from the given source. Read more
§

fn read_from_prefix( source: &[u8], ) -> Result<(Self, &[u8]), SizeError<&[u8], Self>>
where Self: Sized,

Reads a copy of Self from the prefix of the given source. Read more
§

fn read_from_suffix( source: &[u8], ) -> Result<(&[u8], Self), SizeError<&[u8], Self>>
where Self: Sized,

Reads a copy of Self from the suffix of the given source. Read more
Source§

impl FromZeros for IdentifyController
where u16: FromZeros, AsciiString<20>: FromZeros, AsciiString<40>: FromZeros, AsciiString<8>: FromZeros, u8: FromZeros, [u8; 3]: FromZeros, u32: FromZeros, Oaes: FromZeros, [u8; 9]: FromZeros, ControllerType: FromZeros, [u8; 16]: FromZeros, [u8; 106]: FromZeros, [u8; 13]: FromZeros, OptionalAdminCommandSupport: FromZeros, FirmwareUpdates: FromZeros, U128<LE>: FromZeros, [u8; 10]: FromZeros, [u8; 128]: FromZeros, QueueEntrySize: FromZeros, Oncs: FromZeros, VolatileWriteCache: FromZeros, [u8; 204]: FromZeros, [u8; 256]: FromZeros, [u8; 768]: FromZeros, [u8; 242]: FromZeros, [u8; 1024]: FromZeros,

§

fn zero(&mut self)

Overwrites self with zeros. Read more
§

fn new_zeroed() -> Self
where Self: Sized,

Creates an instance of Self from zeroed bytes. Read more
§

fn new_box_zeroed() -> Result<Box<Self>, AllocError>
where Self: Sized,

Creates a Box<Self> from zeroed bytes. Read more
§

fn new_box_zeroed_with_elems(count: usize) -> Result<Box<Self>, AllocError>
where Self: KnownLayout<PointerMetadata = usize>,

Creates a Box<[Self]> (a boxed slice) from zeroed bytes. Read more
§

fn new_vec_zeroed(len: usize) -> Result<Vec<Self>, AllocError>
where Self: Sized,

Creates a Vec<Self> from zeroed bytes. Read more
§

fn extend_vec_zeroed( v: &mut Vec<Self>, additional: usize, ) -> Result<(), AllocError>
where Self: Sized,

Extends a Vec<Self> by pushing additional new items onto the end of the vector. The new items are initialized with zeros.
§

fn insert_vec_zeroed( v: &mut Vec<Self>, position: usize, additional: usize, ) -> Result<(), AllocError>
where Self: Sized,

Inserts additional new items into Vec<Self> at position. The new items are initialized with zeros. Read more
Source§

impl Inspect for IdentifyController

Source§

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

Inspects the object.
Source§

impl IntoBytes for IdentifyController
where u16: IntoBytes, AsciiString<20>: IntoBytes, AsciiString<40>: IntoBytes, AsciiString<8>: IntoBytes, u8: IntoBytes, [u8; 3]: IntoBytes, u32: IntoBytes, Oaes: IntoBytes, [u8; 9]: IntoBytes, ControllerType: IntoBytes, [u8; 16]: IntoBytes, [u8; 106]: IntoBytes, [u8; 13]: IntoBytes, OptionalAdminCommandSupport: IntoBytes, FirmwareUpdates: IntoBytes, U128<LE>: IntoBytes, [u8; 10]: IntoBytes, [u8; 128]: IntoBytes, QueueEntrySize: IntoBytes, Oncs: IntoBytes, VolatileWriteCache: IntoBytes, [u8; 204]: IntoBytes, [u8; 256]: IntoBytes, [u8; 768]: IntoBytes, [u8; 242]: IntoBytes, [u8; 1024]: IntoBytes, (): PaddingFree<Self, { _ }>,

§

fn as_bytes(&self) -> &[u8]
where Self: Immutable,

Gets the bytes of this value. Read more
§

fn as_mut_bytes(&mut self) -> &mut [u8]
where Self: FromBytes,

Gets the bytes of this value mutably. Read more
§

fn write_to(&self, dst: &mut [u8]) -> Result<(), SizeError<&Self, &mut [u8]>>
where Self: Immutable,

Writes a copy of self to dst. Read more
§

fn write_to_prefix( &self, dst: &mut [u8], ) -> Result<(), SizeError<&Self, &mut [u8]>>
where Self: Immutable,

Writes a copy of self to the prefix of dst. Read more
§

fn write_to_suffix( &self, dst: &mut [u8], ) -> Result<(), SizeError<&Self, &mut [u8]>>
where Self: Immutable,

Writes a copy of self to the suffix of dst. Read more
Source§

impl KnownLayout for IdentifyController
where [u8; 1024]: KnownLayout,

Source§

type PointerMetadata = <[u8; 1024] as KnownLayout>::PointerMetadata

The type of metadata stored in a pointer to Self. Read more
Source§

impl TryFromBytes for IdentifyController
where u16: TryFromBytes, AsciiString<20>: TryFromBytes, AsciiString<40>: TryFromBytes, AsciiString<8>: TryFromBytes, u8: TryFromBytes, [u8; 3]: TryFromBytes, u32: TryFromBytes, Oaes: TryFromBytes, [u8; 9]: TryFromBytes, ControllerType: TryFromBytes, [u8; 16]: TryFromBytes, [u8; 106]: TryFromBytes, [u8; 13]: TryFromBytes, OptionalAdminCommandSupport: TryFromBytes, FirmwareUpdates: TryFromBytes, U128<LE>: TryFromBytes, [u8; 10]: TryFromBytes, [u8; 128]: TryFromBytes, QueueEntrySize: TryFromBytes, Oncs: TryFromBytes, VolatileWriteCache: TryFromBytes, [u8; 204]: TryFromBytes, [u8; 256]: TryFromBytes, [u8; 768]: TryFromBytes, [u8; 242]: TryFromBytes, [u8; 1024]: TryFromBytes,

§

fn try_ref_from_bytes( source: &[u8], ) -> Result<&Self, ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>
where Self: KnownLayout + Immutable,

Attempts to interpret the given source as a &Self. Read more
§

fn try_ref_from_prefix( source: &[u8], ) -> Result<(&Self, &[u8]), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>
where Self: KnownLayout + Immutable,

Attempts to interpret the prefix of the given source as a &Self. Read more
§

fn try_ref_from_suffix( source: &[u8], ) -> Result<(&[u8], &Self), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>
where Self: KnownLayout + Immutable,

Attempts to interpret the suffix of the given source as a &Self. Read more
§

fn try_mut_from_bytes( bytes: &mut [u8], ) -> Result<&mut Self, ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>
where Self: KnownLayout + IntoBytes,

Attempts to interpret the given source as a &mut Self without copying. Read more
§

fn try_mut_from_prefix( source: &mut [u8], ) -> Result<(&mut Self, &mut [u8]), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>
where Self: KnownLayout + IntoBytes,

Attempts to interpret the prefix of the given source as a &mut Self. Read more
§

fn try_mut_from_suffix( source: &mut [u8], ) -> Result<(&mut [u8], &mut Self), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>
where Self: KnownLayout + IntoBytes,

Attempts to interpret the suffix of the given source as a &mut Self. Read more
§

fn try_ref_from_bytes_with_elems( source: &[u8], count: usize, ) -> Result<&Self, ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>
where Self: KnownLayout<PointerMetadata = usize> + Immutable,

Attempts to interpret the given source as a &Self with a DST length equal to count. Read more
§

fn try_ref_from_prefix_with_elems( source: &[u8], count: usize, ) -> Result<(&Self, &[u8]), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>
where Self: KnownLayout<PointerMetadata = usize> + Immutable,

Attempts to interpret the prefix of the given source as a &Self with a DST length equal to count. Read more
§

fn try_ref_from_suffix_with_elems( source: &[u8], count: usize, ) -> Result<(&[u8], &Self), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>
where Self: KnownLayout<PointerMetadata = usize> + Immutable,

Attempts to interpret the suffix of the given source as a &Self with a DST length equal to count. Read more
§

fn try_mut_from_bytes_with_elems( source: &mut [u8], count: usize, ) -> Result<&mut Self, ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>
where Self: KnownLayout<PointerMetadata = usize> + IntoBytes,

Attempts to interpret the given source as a &mut Self with a DST length equal to count. Read more
§

fn try_mut_from_prefix_with_elems( source: &mut [u8], count: usize, ) -> Result<(&mut Self, &mut [u8]), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>
where Self: KnownLayout<PointerMetadata = usize> + IntoBytes,

Attempts to interpret the prefix of the given source as a &mut Self with a DST length equal to count. Read more
§

fn try_mut_from_suffix_with_elems( source: &mut [u8], count: usize, ) -> Result<(&mut [u8], &mut Self), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>
where Self: KnownLayout<PointerMetadata = usize> + IntoBytes,

Attempts to interpret the suffix of the given source as a &mut Self with a DST length equal to count. Read more
§

fn try_read_from_bytes( source: &[u8], ) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>
where Self: Sized,

Attempts to read the given source as a Self. Read more
§

fn try_read_from_prefix( source: &[u8], ) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>
where Self: Sized,

Attempts to read a Self from the prefix of the given source. Read more
§

fn try_read_from_suffix( source: &[u8], ) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>
where Self: Sized,

Attempts to read a Self from the suffix of the given source. Read more
Source§

impl Immutable for IdentifyController
where u16: Immutable, AsciiString<20>: Immutable, AsciiString<40>: Immutable, AsciiString<8>: Immutable, u8: Immutable, [u8; 3]: Immutable, u32: Immutable, Oaes: Immutable, [u8; 9]: Immutable, ControllerType: Immutable, [u8; 16]: Immutable, [u8; 106]: Immutable, [u8; 13]: Immutable, OptionalAdminCommandSupport: Immutable, FirmwareUpdates: Immutable, U128<LE>: Immutable, [u8; 10]: Immutable, [u8; 128]: Immutable, QueueEntrySize: Immutable, Oncs: Immutable, VolatileWriteCache: Immutable, [u8; 204]: Immutable, [u8; 256]: Immutable, [u8; 768]: Immutable, [u8; 242]: Immutable, [u8; 1024]: Immutable,

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, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. 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