Struct fuchsia_inspect::Inspector[][src]

pub struct Inspector { /* fields omitted */ }
Expand description

Root of the Inspect API. Through this API, further nodes can be created and inspect can be served.

Implementations

Initializes a new Inspect VMO object with the default maximum size.

True if the Inspector was created successfully (it’s not No-Op)

Initializes a new Inspect VMO object with the given maximum size. If the given size is less than 4K, it will be made 4K which is the minimum size the VMO should have.

Returns a duplicate of the underlying VMO for this Inspector.

The duplicated VMO will be read-only, and is suitable to send to clients over FIDL.

Returns a VMO holding a copy of the data in this inspector.

The copied VMO will be read-only.

Returns a copy of the bytes stored in the VMO for this inspector.

The output will be truncated to only those bytes that are needed to accurately read the stored data.

Returns the root node of the inspect hierarchy.

Takes a function to execute as under a single lock of the Inspect VMO. This function receives a reference to the root of the inspect hierarchy.

Creates a new No-Op inspector

Creates an no-op inspector from the given Vmo. If the VMO is corrupted, reading can fail.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Returns the vmo of the current root node.

Returns the lazy links names.

Loads the lazy link of the given name.

The type returned in the event of a conversion error.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

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

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.