pub struct FixedStringRegister { /* private fields */ }
Expand description

A non-mutable, persistent register that holds a fixed string value

This is useful for registers that provide information and cannot be changed.

Implementations

Creates a register

This function returns None if name is empty or if either parameter is longer than 256 bytes.

Trait Implementations

Formats the value using the given formatter. Read more

Returns the name of this register Read more

Returns information about how this register can be accessed

Reads this register and returns its value Read more

Writes the value of this register Read more

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.