pub struct FuchsiaInspector<'a, D> { /* private fields */ }
Expand description
Provides a Fuchsia implementation of Inspector
.
Implementations§
Source§impl<'a, D> FuchsiaInspector<'a, D>
impl<'a, D> FuchsiaInspector<'a, D>
Trait Implementations§
Source§impl<'a, D> Inspector for FuchsiaInspector<'a, D>
impl<'a, D> Inspector for FuchsiaInspector<'a, D>
Source§type ChildInspector<'l> = FuchsiaInspector<'l, D>
type ChildInspector<'l> = FuchsiaInspector<'l, D>
The type given to record contained children.
Source§fn record_child<F: FnOnce(&mut Self::ChildInspector<'_>)>(
&mut self,
name: &str,
f: F,
)
fn record_child<F: FnOnce(&mut Self::ChildInspector<'_>)>( &mut self, name: &str, f: F, )
Source§fn record_unnamed_child<F: FnOnce(&mut Self::ChildInspector<'_>)>(
&mut self,
f: F,
)
fn record_unnamed_child<F: FnOnce(&mut Self::ChildInspector<'_>)>( &mut self, f: F, )
Records a child without a name. Read more
Source§fn record_usize<T: Into<usize>>(&mut self, name: &str, value: T)
fn record_usize<T: Into<usize>>(&mut self, name: &str, value: T)
Records anything that can be represented by a usize.
Source§fn record_uint<T: Into<u64>>(&mut self, name: &str, value: T)
fn record_uint<T: Into<u64>>(&mut self, name: &str, value: T)
Records anything that can be represented by a u64.
Source§fn record_int<T: Into<i64>>(&mut self, name: &str, value: T)
fn record_int<T: Into<i64>>(&mut self, name: &str, value: T)
Records anything that can be represented by a i64.
Source§fn record_double<T: Into<f64>>(&mut self, name: &str, value: T)
fn record_double<T: Into<f64>>(&mut self, name: &str, value: T)
Records anything that can be represented by a f64.
Source§fn record_str(&mut self, name: &str, value: &str)
fn record_str(&mut self, name: &str, value: &str)
Records a str value.
Source§fn record_string(&mut self, name: &str, value: String)
fn record_string(&mut self, name: &str, value: String)
Records an owned string.
Source§fn record_bool(&mut self, name: &str, value: bool)
fn record_bool(&mut self, name: &str, value: bool)
Records a boolean.
Source§fn record_display_child<T, F>(&mut self, name: T, f: F)
fn record_display_child<T, F>(&mut self, name: T, f: F)
Records a child whose name is the display implementation of
T
.Source§fn record_debug_child<T, F>(&mut self, name: T, f: F)
fn record_debug_child<T, F>(&mut self, name: T, f: F)
Records a child whose name is the Debug implementation of
T
.Source§fn record_counter(&mut self, name: &str, value: &Counter)
fn record_counter(&mut self, name: &str, value: &Counter)
Records a counter.
Source§fn record_display<T>(&mut self, name: &str, value: T)where
T: Display,
fn record_display<T>(&mut self, name: &str, value: T)where
T: Display,
Records a
value
that implements Display
as its display string.Source§fn record_debug<T>(&mut self, name: &str, value: T)where
T: Debug,
fn record_debug<T>(&mut self, name: &str, value: T)where
T: Debug,
Records a
value
that implements Debug
as its debug string.Source§fn record_ip_addr<A>(&mut self, name: &str, value: A)where
A: IpAddress,
fn record_ip_addr<A>(&mut self, name: &str, value: A)where
A: IpAddress,
Records an IP address.
Source§fn record_zoned_addr_with_port<I, A, D, P>(
&mut self,
name: &str,
addr: ZonedAddr<A, D>,
port: P,
)
fn record_zoned_addr_with_port<I, A, D, P>( &mut self, name: &str, addr: ZonedAddr<A, D>, port: P, )
Records a
ZonedAddr
and it’s port, mapping the zone into an
inspectable device identifier.Source§fn record_local_socket_addr<I, A, D, P>(
&mut self,
addr_with_port: Option<(ZonedAddr<A, D>, P)>,
)
fn record_local_socket_addr<I, A, D, P>( &mut self, addr_with_port: Option<(ZonedAddr<A, D>, P)>, )
Records the local address of a socket.
Source§fn record_remote_socket_addr<I, A, D, P>(
&mut self,
addr_with_port: Option<(ZonedAddr<A, D>, P)>,
)
fn record_remote_socket_addr<I, A, D, P>( &mut self, addr_with_port: Option<(ZonedAddr<A, D>, P)>, )
Records the remote address of a socket.
Source§fn record_inspectable_value<V>(&mut self, name: &str, value: &V)where
V: InspectableValue,
fn record_inspectable_value<V>(&mut self, name: &str, value: &V)where
V: InspectableValue,
Records an implementor of
InspectableValue
.Source§fn record_inspectable<V>(&mut self, name: &str, value: &V)where
V: Inspectable,
fn record_inspectable<V>(&mut self, name: &str, value: &V)where
V: Inspectable,
Records an implementor of
Inspectable
under name
.Source§fn delegate_inspectable<V>(&mut self, value: &V)where
V: Inspectable,
fn delegate_inspectable<V>(&mut self, value: &V)where
V: Inspectable,
Delegates more fields to be added by an
Inspectable
implementation.Source§impl<'a, D, P: InspectorDeviceIdProvider<D>> InspectorDeviceExt<D> for FuchsiaInspector<'a, P>
impl<'a, D, P: InspectorDeviceIdProvider<D>> InspectorDeviceExt<D> for FuchsiaInspector<'a, P>
Auto Trait Implementations§
impl<'a, D> Freeze for FuchsiaInspector<'a, D>
impl<'a, D> !RefUnwindSafe for FuchsiaInspector<'a, D>
impl<'a, D> Send for FuchsiaInspector<'a, D>where
D: Send,
impl<'a, D> Sync for FuchsiaInspector<'a, D>where
D: Sync,
impl<'a, D> Unpin for FuchsiaInspector<'a, D>where
D: Unpin,
impl<'a, D> !UnwindSafe for FuchsiaInspector<'a, D>
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
§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<CC, BC, Meta> RecvFrameContext<Meta, BC> for CCwhere
Meta: ReceivableFrameMeta<CC, BC>,
impl<CC, BC, Meta> RecvFrameContext<Meta, BC> for CCwhere
Meta: ReceivableFrameMeta<CC, BC>,
Source§impl<CC, BC, Meta> SendFrameContext<BC, Meta> for CCwhere
Meta: SendableFrameMeta<CC, BC>,
impl<CC, BC, Meta> SendFrameContext<BC, Meta> for CCwhere
Meta: SendableFrameMeta<CC, BC>,
Source§fn send_frame<S>(
&mut self,
bindings_ctx: &mut BC,
metadata: Meta,
frame: S,
) -> Result<(), ErrorAndSerializer<SendFrameErrorReason, S>>where
S: Serializer,
<S as Serializer>::Buffer: BufferMut,
fn send_frame<S>(
&mut self,
bindings_ctx: &mut BC,
metadata: Meta,
frame: S,
) -> Result<(), ErrorAndSerializer<SendFrameErrorReason, S>>where
S: Serializer,
<S as Serializer>::Buffer: BufferMut,
Send a frame. Read more
Source§impl<Id, CC, BC> TimerHandler<BC, Id> for CCwhere
BC: TimerBindingsTypes,
Id: HandleableTimer<CC, BC>,
impl<Id, CC, BC> TimerHandler<BC, Id> for CCwhere
BC: TimerBindingsTypes,
Id: HandleableTimer<CC, BC>,
Source§fn handle_timer(
&mut self,
bindings_ctx: &mut BC,
dispatch: Id,
timer: <BC as TimerBindingsTypes>::UniqueTimerId,
)
fn handle_timer( &mut self, bindings_ctx: &mut BC, dispatch: Id, timer: <BC as TimerBindingsTypes>::UniqueTimerId, )
Handle a timer firing. Read more
Source§impl<L, T> UnlockedAccess<L> for Twhere
L: UnlockedAccessMarkerFor<T>,
impl<L, T> UnlockedAccess<L> for Twhere
L: UnlockedAccessMarkerFor<T>,
Source§type Data = <L as UnlockedAccessMarkerFor<T>>::Data
type Data = <L as UnlockedAccessMarkerFor<T>>::Data
The type of state being accessed.
Source§type Guard<'l> = &'l <L as UnlockedAccessMarkerFor<T>>::Data
where
T: 'l
type Guard<'l> = &'l <L as UnlockedAccessMarkerFor<T>>::Data where T: 'l
A guard providing read access to the data.
Source§fn access(&self) -> <T as UnlockedAccess<L>>::Guard<'_>
fn access(&self) -> <T as UnlockedAccess<L>>::Guard<'_>
How to access the state.