Struct trezor_client::protos::Features

source ·
pub struct Features {
Show 53 fields pub vendor: Option<String>, pub major_version: Option<u32>, pub minor_version: Option<u32>, pub patch_version: Option<u32>, pub bootloader_mode: Option<bool>, pub device_id: Option<String>, pub pin_protection: Option<bool>, pub passphrase_protection: Option<bool>, pub language: Option<String>, pub label: Option<String>, pub initialized: Option<bool>, pub revision: Option<Vec<u8>>, pub bootloader_hash: Option<Vec<u8>>, pub imported: Option<bool>, pub unlocked: Option<bool>, pub _passphrase_cached: Option<bool>, pub firmware_present: Option<bool>, pub backup_availability: Option<EnumOrUnknown<BackupAvailability>>, pub flags: Option<u32>, pub model: Option<String>, pub fw_major: Option<u32>, pub fw_minor: Option<u32>, pub fw_patch: Option<u32>, pub fw_vendor: Option<String>, pub unfinished_backup: Option<bool>, pub no_backup: Option<bool>, pub recovery_status: Option<EnumOrUnknown<RecoveryStatus>>, pub capabilities: Vec<EnumOrUnknown<Capability>>, pub backup_type: Option<EnumOrUnknown<BackupType>>, pub sd_card_present: Option<bool>, pub sd_protection: Option<bool>, pub wipe_code_protection: Option<bool>, pub session_id: Option<Vec<u8>>, pub passphrase_always_on_device: Option<bool>, pub safety_checks: Option<EnumOrUnknown<SafetyCheckLevel>>, pub auto_lock_delay_ms: Option<u32>, pub display_rotation: Option<u32>, pub experimental_features: Option<bool>, pub busy: Option<bool>, pub homescreen_format: Option<EnumOrUnknown<HomescreenFormat>>, pub hide_passphrase_from_host: Option<bool>, pub internal_model: Option<String>, pub unit_color: Option<u32>, pub unit_btconly: Option<bool>, pub homescreen_width: Option<u32>, pub homescreen_height: Option<u32>, pub bootloader_locked: Option<bool>, pub language_version_matches: Option<bool>, pub unit_packaging: Option<u32>, pub haptic_feedback: Option<bool>, pub recovery_type: Option<EnumOrUnknown<RecoveryType>>, pub optiga_sec: Option<u32>, pub special_fields: SpecialFields,
}

Fields§

§vendor: Option<String>§major_version: Option<u32>§minor_version: Option<u32>§patch_version: Option<u32>§bootloader_mode: Option<bool>§device_id: Option<String>§pin_protection: Option<bool>§passphrase_protection: Option<bool>§language: Option<String>§label: Option<String>§initialized: Option<bool>§revision: Option<Vec<u8>>§bootloader_hash: Option<Vec<u8>>§imported: Option<bool>§unlocked: Option<bool>§_passphrase_cached: Option<bool>§firmware_present: Option<bool>§backup_availability: Option<EnumOrUnknown<BackupAvailability>>§flags: Option<u32>§model: Option<String>§fw_major: Option<u32>§fw_minor: Option<u32>§fw_patch: Option<u32>§fw_vendor: Option<String>§unfinished_backup: Option<bool>§no_backup: Option<bool>§recovery_status: Option<EnumOrUnknown<RecoveryStatus>>§capabilities: Vec<EnumOrUnknown<Capability>>§backup_type: Option<EnumOrUnknown<BackupType>>§sd_card_present: Option<bool>§sd_protection: Option<bool>§wipe_code_protection: Option<bool>§session_id: Option<Vec<u8>>§passphrase_always_on_device: Option<bool>§safety_checks: Option<EnumOrUnknown<SafetyCheckLevel>>§auto_lock_delay_ms: Option<u32>§display_rotation: Option<u32>§experimental_features: Option<bool>§busy: Option<bool>§homescreen_format: Option<EnumOrUnknown<HomescreenFormat>>§hide_passphrase_from_host: Option<bool>§internal_model: Option<String>§unit_color: Option<u32>§unit_btconly: Option<bool>§homescreen_width: Option<u32>§homescreen_height: Option<u32>§bootloader_locked: Option<bool>§language_version_matches: Option<bool>§unit_packaging: Option<u32>§haptic_feedback: Option<bool>§recovery_type: Option<EnumOrUnknown<RecoveryType>>§optiga_sec: Option<u32>§special_fields: SpecialFields

Implementations§

source§

impl Features

source

pub fn new() -> Features

source

pub fn vendor(&self) -> &str

source

pub fn clear_vendor(&mut self)

source

pub fn has_vendor(&self) -> bool

source

pub fn set_vendor(&mut self, v: String)

source

pub fn mut_vendor(&mut self) -> &mut String

source

pub fn take_vendor(&mut self) -> String

source

pub fn major_version(&self) -> u32

source

pub fn clear_major_version(&mut self)

source

pub fn has_major_version(&self) -> bool

source

pub fn set_major_version(&mut self, v: u32)

source

pub fn minor_version(&self) -> u32

source

pub fn clear_minor_version(&mut self)

source

pub fn has_minor_version(&self) -> bool

source

pub fn set_minor_version(&mut self, v: u32)

source

pub fn patch_version(&self) -> u32

source

pub fn clear_patch_version(&mut self)

source

pub fn has_patch_version(&self) -> bool

source

pub fn set_patch_version(&mut self, v: u32)

source

pub fn bootloader_mode(&self) -> bool

source

pub fn clear_bootloader_mode(&mut self)

source

pub fn has_bootloader_mode(&self) -> bool

source

pub fn set_bootloader_mode(&mut self, v: bool)

source

pub fn device_id(&self) -> &str

source

pub fn clear_device_id(&mut self)

source

pub fn has_device_id(&self) -> bool

source

pub fn set_device_id(&mut self, v: String)

source

pub fn mut_device_id(&mut self) -> &mut String

source

pub fn take_device_id(&mut self) -> String

source

pub fn pin_protection(&self) -> bool

source

pub fn clear_pin_protection(&mut self)

source

pub fn has_pin_protection(&self) -> bool

source

pub fn set_pin_protection(&mut self, v: bool)

source

pub fn passphrase_protection(&self) -> bool

source

pub fn clear_passphrase_protection(&mut self)

source

pub fn has_passphrase_protection(&self) -> bool

source

pub fn set_passphrase_protection(&mut self, v: bool)

source

pub fn language(&self) -> &str

source

pub fn clear_language(&mut self)

source

pub fn has_language(&self) -> bool

source

pub fn set_language(&mut self, v: String)

source

pub fn mut_language(&mut self) -> &mut String

source

pub fn take_language(&mut self) -> String

source

pub fn label(&self) -> &str

source

pub fn clear_label(&mut self)

source

pub fn has_label(&self) -> bool

source

pub fn set_label(&mut self, v: String)

source

pub fn mut_label(&mut self) -> &mut String

source

pub fn take_label(&mut self) -> String

source

pub fn initialized(&self) -> bool

source

pub fn clear_initialized(&mut self)

source

pub fn has_initialized(&self) -> bool

source

pub fn set_initialized(&mut self, v: bool)

source

pub fn revision(&self) -> &[u8]

source

pub fn clear_revision(&mut self)

source

pub fn has_revision(&self) -> bool

source

pub fn set_revision(&mut self, v: Vec<u8>)

source

pub fn mut_revision(&mut self) -> &mut Vec<u8>

source

pub fn take_revision(&mut self) -> Vec<u8>

source

pub fn bootloader_hash(&self) -> &[u8]

source

pub fn clear_bootloader_hash(&mut self)

source

pub fn has_bootloader_hash(&self) -> bool

source

pub fn set_bootloader_hash(&mut self, v: Vec<u8>)

source

pub fn mut_bootloader_hash(&mut self) -> &mut Vec<u8>

source

pub fn take_bootloader_hash(&mut self) -> Vec<u8>

source

pub fn imported(&self) -> bool

source

pub fn clear_imported(&mut self)

source

pub fn has_imported(&self) -> bool

source

pub fn set_imported(&mut self, v: bool)

source

pub fn unlocked(&self) -> bool

source

pub fn clear_unlocked(&mut self)

source

pub fn has_unlocked(&self) -> bool

source

pub fn set_unlocked(&mut self, v: bool)

source

pub fn _passphrase_cached(&self) -> bool

source

pub fn clear__passphrase_cached(&mut self)

source

pub fn has__passphrase_cached(&self) -> bool

source

pub fn set__passphrase_cached(&mut self, v: bool)

source

pub fn firmware_present(&self) -> bool

source

pub fn clear_firmware_present(&mut self)

source

pub fn has_firmware_present(&self) -> bool

source

pub fn set_firmware_present(&mut self, v: bool)

source

pub fn backup_availability(&self) -> BackupAvailability

source

pub fn clear_backup_availability(&mut self)

source

pub fn has_backup_availability(&self) -> bool

source

pub fn set_backup_availability(&mut self, v: BackupAvailability)

source

pub fn flags(&self) -> u32

source

pub fn clear_flags(&mut self)

source

pub fn has_flags(&self) -> bool

source

pub fn set_flags(&mut self, v: u32)

source

pub fn model(&self) -> &str

source

pub fn clear_model(&mut self)

source

pub fn has_model(&self) -> bool

source

pub fn set_model(&mut self, v: String)

source

pub fn mut_model(&mut self) -> &mut String

source

pub fn take_model(&mut self) -> String

source

pub fn fw_major(&self) -> u32

source

pub fn clear_fw_major(&mut self)

source

pub fn has_fw_major(&self) -> bool

source

pub fn set_fw_major(&mut self, v: u32)

source

pub fn fw_minor(&self) -> u32

source

pub fn clear_fw_minor(&mut self)

source

pub fn has_fw_minor(&self) -> bool

source

pub fn set_fw_minor(&mut self, v: u32)

source

pub fn fw_patch(&self) -> u32

source

pub fn clear_fw_patch(&mut self)

source

pub fn has_fw_patch(&self) -> bool

source

pub fn set_fw_patch(&mut self, v: u32)

source

pub fn fw_vendor(&self) -> &str

source

pub fn clear_fw_vendor(&mut self)

source

pub fn has_fw_vendor(&self) -> bool

source

pub fn set_fw_vendor(&mut self, v: String)

source

pub fn mut_fw_vendor(&mut self) -> &mut String

source

pub fn take_fw_vendor(&mut self) -> String

source

pub fn unfinished_backup(&self) -> bool

source

pub fn clear_unfinished_backup(&mut self)

source

pub fn has_unfinished_backup(&self) -> bool

source

pub fn set_unfinished_backup(&mut self, v: bool)

source

pub fn no_backup(&self) -> bool

source

pub fn clear_no_backup(&mut self)

source

pub fn has_no_backup(&self) -> bool

source

pub fn set_no_backup(&mut self, v: bool)

source

pub fn recovery_status(&self) -> RecoveryStatus

source

pub fn clear_recovery_status(&mut self)

source

pub fn has_recovery_status(&self) -> bool

source

pub fn set_recovery_status(&mut self, v: RecoveryStatus)

source

pub fn backup_type(&self) -> BackupType

source

pub fn clear_backup_type(&mut self)

source

pub fn has_backup_type(&self) -> bool

source

pub fn set_backup_type(&mut self, v: BackupType)

source

pub fn sd_card_present(&self) -> bool

source

pub fn clear_sd_card_present(&mut self)

source

pub fn has_sd_card_present(&self) -> bool

source

pub fn set_sd_card_present(&mut self, v: bool)

source

pub fn sd_protection(&self) -> bool

source

pub fn clear_sd_protection(&mut self)

source

pub fn has_sd_protection(&self) -> bool

source

pub fn set_sd_protection(&mut self, v: bool)

source

pub fn wipe_code_protection(&self) -> bool

source

pub fn clear_wipe_code_protection(&mut self)

source

pub fn has_wipe_code_protection(&self) -> bool

source

pub fn set_wipe_code_protection(&mut self, v: bool)

source

pub fn session_id(&self) -> &[u8]

source

pub fn clear_session_id(&mut self)

source

pub fn has_session_id(&self) -> bool

source

pub fn set_session_id(&mut self, v: Vec<u8>)

source

pub fn mut_session_id(&mut self) -> &mut Vec<u8>

source

pub fn take_session_id(&mut self) -> Vec<u8>

source

pub fn passphrase_always_on_device(&self) -> bool

source

pub fn clear_passphrase_always_on_device(&mut self)

source

pub fn has_passphrase_always_on_device(&self) -> bool

source

pub fn set_passphrase_always_on_device(&mut self, v: bool)

source

pub fn safety_checks(&self) -> SafetyCheckLevel

source

pub fn clear_safety_checks(&mut self)

source

pub fn has_safety_checks(&self) -> bool

source

pub fn set_safety_checks(&mut self, v: SafetyCheckLevel)

source

pub fn auto_lock_delay_ms(&self) -> u32

source

pub fn clear_auto_lock_delay_ms(&mut self)

source

pub fn has_auto_lock_delay_ms(&self) -> bool

source

pub fn set_auto_lock_delay_ms(&mut self, v: u32)

source

pub fn display_rotation(&self) -> u32

source

pub fn clear_display_rotation(&mut self)

source

pub fn has_display_rotation(&self) -> bool

source

pub fn set_display_rotation(&mut self, v: u32)

source

pub fn experimental_features(&self) -> bool

source

pub fn clear_experimental_features(&mut self)

source

pub fn has_experimental_features(&self) -> bool

source

pub fn set_experimental_features(&mut self, v: bool)

source

pub fn busy(&self) -> bool

source

pub fn clear_busy(&mut self)

source

pub fn has_busy(&self) -> bool

source

pub fn set_busy(&mut self, v: bool)

source

pub fn homescreen_format(&self) -> HomescreenFormat

source

pub fn clear_homescreen_format(&mut self)

source

pub fn has_homescreen_format(&self) -> bool

source

pub fn set_homescreen_format(&mut self, v: HomescreenFormat)

source

pub fn hide_passphrase_from_host(&self) -> bool

source

pub fn clear_hide_passphrase_from_host(&mut self)

source

pub fn has_hide_passphrase_from_host(&self) -> bool

source

pub fn set_hide_passphrase_from_host(&mut self, v: bool)

source

pub fn internal_model(&self) -> &str

source

pub fn clear_internal_model(&mut self)

source

pub fn has_internal_model(&self) -> bool

source

pub fn set_internal_model(&mut self, v: String)

source

pub fn mut_internal_model(&mut self) -> &mut String

source

pub fn take_internal_model(&mut self) -> String

source

pub fn unit_color(&self) -> u32

source

pub fn clear_unit_color(&mut self)

source

pub fn has_unit_color(&self) -> bool

source

pub fn set_unit_color(&mut self, v: u32)

source

pub fn unit_btconly(&self) -> bool

source

pub fn clear_unit_btconly(&mut self)

source

pub fn has_unit_btconly(&self) -> bool

source

pub fn set_unit_btconly(&mut self, v: bool)

source

pub fn homescreen_width(&self) -> u32

source

pub fn clear_homescreen_width(&mut self)

source

pub fn has_homescreen_width(&self) -> bool

source

pub fn set_homescreen_width(&mut self, v: u32)

source

pub fn homescreen_height(&self) -> u32

source

pub fn clear_homescreen_height(&mut self)

source

pub fn has_homescreen_height(&self) -> bool

source

pub fn set_homescreen_height(&mut self, v: u32)

source

pub fn bootloader_locked(&self) -> bool

source

pub fn clear_bootloader_locked(&mut self)

source

pub fn has_bootloader_locked(&self) -> bool

source

pub fn set_bootloader_locked(&mut self, v: bool)

source

pub fn language_version_matches(&self) -> bool

source

pub fn clear_language_version_matches(&mut self)

source

pub fn has_language_version_matches(&self) -> bool

source

pub fn set_language_version_matches(&mut self, v: bool)

source

pub fn unit_packaging(&self) -> u32

source

pub fn clear_unit_packaging(&mut self)

source

pub fn has_unit_packaging(&self) -> bool

source

pub fn set_unit_packaging(&mut self, v: u32)

source

pub fn haptic_feedback(&self) -> bool

source

pub fn clear_haptic_feedback(&mut self)

source

pub fn has_haptic_feedback(&self) -> bool

source

pub fn set_haptic_feedback(&mut self, v: bool)

source

pub fn recovery_type(&self) -> RecoveryType

source

pub fn clear_recovery_type(&mut self)

source

pub fn has_recovery_type(&self) -> bool

source

pub fn set_recovery_type(&mut self, v: RecoveryType)

source

pub fn optiga_sec(&self) -> u32

source

pub fn clear_optiga_sec(&mut self)

source

pub fn has_optiga_sec(&self) -> bool

source

pub fn set_optiga_sec(&mut self, v: u32)

Trait Implementations§

source§

impl Clone for Features

source§

fn clone(&self) -> Features

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 Features

source§

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

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

impl<'a> Default for &'a Features

source§

fn default() -> &'a Features

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

impl Default for Features

source§

fn default() -> Features

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

impl Display for Features

source§

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

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

impl Message for Features

source§

const NAME: &'static str = "Features"

Message name as specified in .proto file. Read more
source§

fn is_initialized(&self) -> bool

True iff all required fields are initialized. Always returns true for protobuf 3.
source§

fn merge_from(&mut self, is: &mut CodedInputStream<'_>) -> Result<()>

Update this message object with fields read from given stream.
source§

fn compute_size(&self) -> u64

Compute and cache size of this message and all nested messages. Read more
source§

fn write_to_with_cached_sizes( &self, os: &mut CodedOutputStream<'_>, ) -> Result<()>

Write message to the stream. Read more
source§

fn special_fields(&self) -> &SpecialFields

Special fields (unknown fields and cached size).
source§

fn mut_special_fields(&mut self) -> &mut SpecialFields

Special fields (unknown fields and cached size).
source§

fn new() -> Features

Create an empty message object. Read more
source§

fn clear(&mut self)

Reset all fields.
source§

fn default_instance() -> &'static Features

Return a pointer to default immutable message with static lifetime. Read more
source§

fn parse_from(is: &mut CodedInputStream<'_>) -> Result<Self, Error>

Parse message from stream.
source§

fn cached_size(&self) -> u32

Get size previously computed by compute_size. Read more
source§

fn write_to(&self, os: &mut CodedOutputStream<'_>) -> Result<(), Error>

Write the message to the stream. Read more
source§

fn write_length_delimited_to( &self, os: &mut CodedOutputStream<'_>, ) -> Result<(), Error>

Write the message to the stream prepending the message with message length encoded as varint.
source§

fn write_length_delimited_to_vec(&self, vec: &mut Vec<u8>) -> Result<(), Error>

Write the message to the vec, prepend the message with message length encoded as varint.
source§

fn merge_from_bytes(&mut self, bytes: &[u8]) -> Result<(), Error>

Update this message object with fields read from given stream.
source§

fn parse_from_reader(reader: &mut dyn Read) -> Result<Self, Error>

Parse message from reader. Parse stops on EOF or when error encountered.
source§

fn parse_from_bytes(bytes: &[u8]) -> Result<Self, Error>

Parse message from byte array.
source§

fn check_initialized(&self) -> Result<(), Error>

Check if all required fields of this object are initialized.
source§

fn write_to_writer(&self, w: &mut dyn Write) -> Result<(), Error>

Write the message to the writer.
source§

fn write_to_vec(&self, v: &mut Vec<u8>) -> Result<(), Error>

Write the message to bytes vec.
source§

fn write_to_bytes(&self) -> Result<Vec<u8>, Error>

Write the message to bytes vec. Read more
source§

fn write_length_delimited_to_writer( &self, w: &mut dyn Write, ) -> Result<(), Error>

Write the message to the writer, prepend the message with message length encoded as varint.
source§

fn write_length_delimited_to_bytes(&self) -> Result<Vec<u8>, Error>

Write the message to the bytes vec, prepend the message with message length encoded as varint.
source§

fn unknown_fields(&self) -> &UnknownFields

Get a reference to unknown fields.
source§

fn mut_unknown_fields(&mut self) -> &mut UnknownFields

Get a mutable reference to unknown fields.
source§

impl MessageFull for Features

source§

fn descriptor() -> MessageDescriptor

Get message descriptor for message type. Read more
source§

fn reflect_eq(&self, other: &Self, mode: &ReflectEqMode) -> bool

Reflective equality. Read more
source§

impl PartialEq for Features

source§

fn eq(&self, other: &Features) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl ProtobufValue for Features

§

type RuntimeType = RuntimeTypeMessage<Features>

Actual implementation of type properties.
§

impl TrezorMessage for Features

§

const MESSAGE_TYPE: MessageType = MessageType_Features

source§

fn message_type() -> MessageType

👎Deprecated: Use MESSAGE_TYPE instead
source§

impl StructuralPartialEq for Features

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§

default unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬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.

source§

impl<T> Instrument for T

source§

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

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

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<M> MessageDyn for M
where M: MessageFull,

source§

fn descriptor_dyn(&self) -> MessageDescriptor

Message descriptor for this message, used for reflection.
source§

fn merge_from_dyn(&mut self, is: &mut CodedInputStream<'_>) -> Result<(), Error>

Update this message fields with contents of given stream.
source§

fn write_to_with_cached_sizes_dyn( &self, os: &mut CodedOutputStream<'_>, ) -> Result<(), Error>

Write the message.
source§

fn compute_size_dyn(&self) -> u64

Compute (and cache) the message size.
source§

fn is_initialized_dyn(&self) -> bool

True iff all required fields are initialized. Always returns true for protobuf 3.
source§

fn special_fields_dyn(&self) -> &SpecialFields

Get a reference to special fields.
source§

fn mut_special_fields_dyn(&mut self) -> &mut SpecialFields

Get a mutable reference to special fields.
source§

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

§

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> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

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

§

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>,

§

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.
source§

impl<T> WithSubscriber for T

source§

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
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

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