Struct puffin_http::Client[][src]

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

Connect to a crate::Server, reading profile data and feeding it to a puffin::FrameView.

Will retry connection until it succeeds, and reconnect on failures.

Implementations

Connects to the given http address receives puffin profile data that is then fed to puffin::GlobalProfiler.

You can then view the data with puffin_egui or puffin-imgui.

puffin_http::Client::new("127.0.0.1:8585".to_owned());

The address we are connected to or trying to connect to.

Are we currently connect to the server?

Get the current data.

Trait Implementations

Executes the destructor for this type. 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

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.