Struct worker::durable::State[][src]

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

Passed from the runtime to provide access to the Durable Object’s storage as well as various metadata about the Object.

Implementations

The ID of this Durable Object which can be converted into a hex string using its to_string() method.

Contains methods for accessing persistent storage via the transactional storage API. See Transactional Storage API for a detailed reference.

Trait Implementations

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.

Performs the conversion.

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.