pub struct hcl_intr_offload_flags(/* private fields */);
Expand description
Kernel IPI offloading flags
Implementations§
Source§impl hcl_intr_offload_flags
impl hcl_intr_offload_flags
Sourcepub const fn offload_intr_inject(&self) -> bool
pub const fn offload_intr_inject(&self) -> bool
Enable the base level of kernel offloading support. Requires vAPIC to be enabled. HLT and Idle are accelerated by the kernel. When halted, an interrupt may be injected entirely in kernel, bypassing user-space.
Bits: 0..1
Sourcepub const fn with_offload_intr_inject_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_offload_intr_inject_checked( self, value: bool, ) -> Result<Self, ()>
Enable the base level of kernel offloading support. Requires vAPIC to be enabled. HLT and Idle are accelerated by the kernel. When halted, an interrupt may be injected entirely in kernel, bypassing user-space.
Bits: 0..1
Sourcepub const fn with_offload_intr_inject(self, value: bool) -> Self
pub const fn with_offload_intr_inject(self, value: bool) -> Self
Enable the base level of kernel offloading support. Requires vAPIC to be enabled. HLT and Idle are accelerated by the kernel. When halted, an interrupt may be injected entirely in kernel, bypassing user-space.
Bits: 0..1
Sourcepub const fn set_offload_intr_inject(&mut self, value: bool)
pub const fn set_offload_intr_inject(&mut self, value: bool)
Enable the base level of kernel offloading support. Requires vAPIC to be enabled. HLT and Idle are accelerated by the kernel. When halted, an interrupt may be injected entirely in kernel, bypassing user-space.
Bits: 0..1
Sourcepub const fn set_offload_intr_inject_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_offload_intr_inject_checked( &mut self, value: bool, ) -> Result<(), ()>
Enable the base level of kernel offloading support. Requires vAPIC to be enabled. HLT and Idle are accelerated by the kernel. When halted, an interrupt may be injected entirely in kernel, bypassing user-space.
Bits: 0..1
Sourcepub const fn offload_x2apic(&self) -> bool
pub const fn offload_x2apic(&self) -> bool
Handle the X2 APIC ICR register in kernel
Bits: 1..2
Sourcepub const fn with_offload_x2apic_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_offload_x2apic_checked(self, value: bool) -> Result<Self, ()>
Handle the X2 APIC ICR register in kernel
Bits: 1..2
Sourcepub const fn with_offload_x2apic(self, value: bool) -> Self
pub const fn with_offload_x2apic(self, value: bool) -> Self
Handle the X2 APIC ICR register in kernel
Bits: 1..2
Sourcepub const fn set_offload_x2apic(&mut self, value: bool)
pub const fn set_offload_x2apic(&mut self, value: bool)
Handle the X2 APIC ICR register in kernel
Bits: 1..2
Sourcepub const fn set_offload_x2apic_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_offload_x2apic_checked( &mut self, value: bool, ) -> Result<(), ()>
Handle the X2 APIC ICR register in kernel
Bits: 1..2
Sourcepub const fn halted_other(&self) -> bool
pub const fn halted_other(&self) -> bool
Halt, due to other reason. Kernel cannot clear this state.
Bits: 5..6
Sourcepub const fn with_halted_other_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_halted_other_checked(self, value: bool) -> Result<Self, ()>
Halt, due to other reason. Kernel cannot clear this state.
Bits: 5..6
Sourcepub const fn with_halted_other(self, value: bool) -> Self
pub const fn with_halted_other(self, value: bool) -> Self
Halt, due to other reason. Kernel cannot clear this state.
Bits: 5..6
Sourcepub const fn set_halted_other(&mut self, value: bool)
pub const fn set_halted_other(&mut self, value: bool)
Halt, due to other reason. Kernel cannot clear this state.
Bits: 5..6
Sourcepub const fn set_halted_other_checked(&mut self, value: bool) -> Result<(), ()>
pub const fn set_halted_other_checked(&mut self, value: bool) -> Result<(), ()>
Halt, due to other reason. Kernel cannot clear this state.
Bits: 5..6
Sourcepub const fn halted_hlt(&self) -> bool
pub const fn halted_hlt(&self) -> bool
Halt, due to HLT instruction. Kernel can clear this state.
Bits: 6..7
Sourcepub const fn with_halted_hlt_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_halted_hlt_checked(self, value: bool) -> Result<Self, ()>
Halt, due to HLT instruction. Kernel can clear this state.
Bits: 6..7
Sourcepub const fn with_halted_hlt(self, value: bool) -> Self
pub const fn with_halted_hlt(self, value: bool) -> Self
Halt, due to HLT instruction. Kernel can clear this state.
Bits: 6..7
Sourcepub const fn set_halted_hlt(&mut self, value: bool)
pub const fn set_halted_hlt(&mut self, value: bool)
Halt, due to HLT instruction. Kernel can clear this state.
Bits: 6..7
Sourcepub const fn set_halted_hlt_checked(&mut self, value: bool) -> Result<(), ()>
pub const fn set_halted_hlt_checked(&mut self, value: bool) -> Result<(), ()>
Halt, due to HLT instruction. Kernel can clear this state.
Bits: 6..7
Sourcepub const fn halted_idle(&self) -> bool
pub const fn halted_idle(&self) -> bool
Halt, due to guest idle. Kernel can clear this state.
Bits: 7..8
Sourcepub const fn with_halted_idle_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_halted_idle_checked(self, value: bool) -> Result<Self, ()>
Halt, due to guest idle. Kernel can clear this state.
Bits: 7..8
Sourcepub const fn with_halted_idle(self, value: bool) -> Self
pub const fn with_halted_idle(self, value: bool) -> Self
Halt, due to guest idle. Kernel can clear this state.
Bits: 7..8
Sourcepub const fn set_halted_idle(&mut self, value: bool)
pub const fn set_halted_idle(&mut self, value: bool)
Halt, due to guest idle. Kernel can clear this state.
Bits: 7..8
Trait Implementations§
Source§impl Clone for hcl_intr_offload_flags
impl Clone for hcl_intr_offload_flags
Source§fn clone(&self) -> hcl_intr_offload_flags
fn clone(&self) -> hcl_intr_offload_flags
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for hcl_intr_offload_flags
impl Debug for hcl_intr_offload_flags
Source§impl Default for hcl_intr_offload_flags
impl Default for hcl_intr_offload_flags
Source§impl From<hcl_intr_offload_flags> for u8
impl From<hcl_intr_offload_flags> for u8
Source§fn from(v: hcl_intr_offload_flags) -> u8
fn from(v: hcl_intr_offload_flags) -> u8
Source§impl From<u8> for hcl_intr_offload_flags
impl From<u8> for hcl_intr_offload_flags
Source§impl FromBytes for hcl_intr_offload_flagswhere
u8: FromBytes,
impl FromBytes for hcl_intr_offload_flagswhere
u8: FromBytes,
§fn ref_from_bytes(
source: &[u8],
) -> Result<&Self, ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>where
Self: KnownLayout + Immutable,
fn ref_from_bytes(
source: &[u8],
) -> Result<&Self, ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>where
Self: KnownLayout + Immutable,
§fn ref_from_prefix(
source: &[u8],
) -> Result<(&Self, &[u8]), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>where
Self: KnownLayout + Immutable,
fn ref_from_prefix(
source: &[u8],
) -> Result<(&Self, &[u8]), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>where
Self: KnownLayout + Immutable,
§fn ref_from_suffix(
source: &[u8],
) -> Result<(&[u8], &Self), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>where
Self: Immutable + KnownLayout,
fn ref_from_suffix(
source: &[u8],
) -> Result<(&[u8], &Self), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>where
Self: Immutable + KnownLayout,
&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,
fn mut_from_bytes(
source: &mut [u8],
) -> Result<&mut Self, ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>where
Self: IntoBytes + KnownLayout,
§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,
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,
§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,
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,
Source§impl FromZeros for hcl_intr_offload_flagswhere
u8: FromZeros,
impl FromZeros for hcl_intr_offload_flagswhere
u8: FromZeros,
§fn new_zeroed() -> Selfwhere
Self: Sized,
fn new_zeroed() -> Selfwhere
Self: Sized,
Self
from zeroed bytes. Read more§fn new_box_zeroed() -> Result<Box<Self>, AllocError>where
Self: Sized,
fn new_box_zeroed() -> Result<Box<Self>, AllocError>where
Self: Sized,
Box<Self>
from zeroed bytes. Read more§fn new_vec_zeroed(len: usize) -> Result<Vec<Self>, AllocError>where
Self: Sized,
fn new_vec_zeroed(len: usize) -> Result<Vec<Self>, AllocError>where
Self: Sized,
Vec<Self>
from zeroed bytes. Read moreSource§impl IntoBytes for hcl_intr_offload_flagswhere
u8: IntoBytes,
impl IntoBytes for hcl_intr_offload_flagswhere
u8: IntoBytes,
§fn as_mut_bytes(&mut self) -> &mut [u8] ⓘwhere
Self: FromBytes,
fn as_mut_bytes(&mut self) -> &mut [u8] ⓘwhere
Self: FromBytes,
§fn write_to(&self, dst: &mut [u8]) -> Result<(), SizeError<&Self, &mut [u8]>>where
Self: Immutable,
fn write_to(&self, dst: &mut [u8]) -> Result<(), SizeError<&Self, &mut [u8]>>where
Self: Immutable,
Source§impl KnownLayout for hcl_intr_offload_flagswhere
Self: Sized,
impl KnownLayout for hcl_intr_offload_flagswhere
Self: Sized,
Source§type PointerMetadata = ()
type PointerMetadata = ()
Self
. Read moreSource§impl TryFromBytes for hcl_intr_offload_flagswhere
u8: TryFromBytes,
impl TryFromBytes for hcl_intr_offload_flagswhere
u8: TryFromBytes,
§fn try_ref_from_bytes(
source: &[u8],
) -> Result<&Self, ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: KnownLayout + Immutable,
fn try_ref_from_bytes(
source: &[u8],
) -> Result<&Self, ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: KnownLayout + Immutable,
§fn try_ref_from_prefix(
source: &[u8],
) -> Result<(&Self, &[u8]), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: KnownLayout + Immutable,
fn try_ref_from_prefix(
source: &[u8],
) -> Result<(&Self, &[u8]), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: KnownLayout + Immutable,
§fn try_ref_from_suffix(
source: &[u8],
) -> Result<(&[u8], &Self), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: KnownLayout + Immutable,
fn try_ref_from_suffix(
source: &[u8],
) -> Result<(&[u8], &Self), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: KnownLayout + Immutable,
§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,
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,
§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,
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,
§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,
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,
§fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
§fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
§fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
impl Copy for hcl_intr_offload_flags
impl Immutable for hcl_intr_offload_flagswhere
u8: Immutable,
Auto Trait Implementations§
impl Freeze for hcl_intr_offload_flags
impl RefUnwindSafe for hcl_intr_offload_flags
impl Send for hcl_intr_offload_flags
impl Sync for hcl_intr_offload_flags
impl Unpin for hcl_intr_offload_flags
impl UnwindSafe for hcl_intr_offload_flags
Blanket Implementations§
Source§impl<T> AsAtomicBytes for Twhere
T: IntoBytes + FromBytes + Immutable + KnownLayout + ?Sized,
impl<T> AsAtomicBytes for Twhere
T: IntoBytes + FromBytes + Immutable + KnownLayout + ?Sized,
Source§fn as_atomic_bytes(&mut self) -> &[AtomicU8]
fn as_atomic_bytes(&mut self) -> &[AtomicU8]
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Conv for T
impl<T> Conv for T
§impl<T> FmtForward for T
impl<T> FmtForward for T
§fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
self
to use its Binary
implementation when Debug
-formatted.§fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
self
to use its Display
implementation when
Debug
-formatted.§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
self
to use its LowerExp
implementation when
Debug
-formatted.§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
self
to use its LowerHex
implementation when
Debug
-formatted.§fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
self
to use its Octal
implementation when Debug
-formatted.§fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
self
to use its Pointer
implementation when
Debug
-formatted.§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
self
to use its UpperExp
implementation when
Debug
-formatted.§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
self
to use its UpperHex
implementation when
Debug
-formatted.§fn fmt_list(self) -> FmtList<Self>where
&'a Self: for<'a> IntoIterator,
fn fmt_list(self) -> FmtList<Self>where
&'a Self: for<'a> IntoIterator,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> Pipe for Twhere
T: ?Sized,
impl<T> Pipe for Twhere
T: ?Sized,
§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
self
and passes that borrow into the pipe function. Read more§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
self
and passes that borrow into the pipe function. Read more§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
§fn pipe_borrow_mut<'a, B, R>(
&'a mut self,
func: impl FnOnce(&'a mut B) -> R,
) -> R
fn pipe_borrow_mut<'a, B, R>( &'a mut self, func: impl FnOnce(&'a mut B) -> R, ) -> R
§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
self
, then passes self.as_ref()
into the pipe function.§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
self
, then passes self.as_mut()
into the pipe
function.§fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
self
, then passes self.deref()
into the pipe function.§impl<T> Tap for T
impl<T> Tap for T
§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
Borrow<B>
of a value. Read more§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
BorrowMut<B>
of a value. Read more§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
AsRef<R>
view of a value. Read more§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
AsMut<R>
view of a value. Read more§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
Deref::Target
of a value. Read more§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
Deref::Target
of a value. Read more§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
.tap()
only in debug builds, and is erased in release builds.§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
.tap_mut()
only in debug builds, and is erased in release
builds.§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
.tap_borrow()
only in debug builds, and is erased in release
builds.§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
.tap_borrow_mut()
only in debug builds, and is erased in release
builds.§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
.tap_ref()
only in debug builds, and is erased in release
builds.§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
.tap_ref_mut()
only in debug builds, and is erased in release
builds.§fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
.tap_deref()
only in debug builds, and is erased in release
builds.