pub struct FutureEntity {
pub skip_entry_frames: Option<u8>,
}Fields§
§skip_entry_frames: Option<u8>Number of frames to skip from the top of the backtrace when displaying this future.
Set to 1 by #[moire::instrument] so the instrumented function itself is hidden
and the callsite is shown instead.
Trait Implementations§
Source§impl Default for FutureEntity
impl Default for FutureEntity
Source§fn default() -> FutureEntity
fn default() -> FutureEntity
Returns the “default value” for a type. Read more
Source§impl EntityBodySlot for FutureEntity
impl EntityBodySlot for FutureEntity
const KIND_NAME: &'static str = "Future"
type Value = FutureEntity
fn project(body: &EntityBody) -> Option<&Self::Value>
fn project_mut(body: &mut EntityBody) -> Option<&mut Self::Value>
Source§impl<'ʄ> Facet<'ʄ> for FutureEntity
impl<'ʄ> Facet<'ʄ> for FutureEntity
Source§impl From<FutureEntity> for EntityBody
impl From<FutureEntity> for EntityBody
Source§fn from(value: FutureEntity) -> Self
fn from(value: FutureEntity) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FutureEntity
impl RefUnwindSafe for FutureEntity
impl Send for FutureEntity
impl Sync for FutureEntity
impl Unpin for FutureEntity
impl UnsafeUnpin for FutureEntity
impl UnwindSafe for FutureEntity
Blanket Implementations§
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
Mutably borrows from an owned value. Read more