Struct async_minecraft_ping::ConnectionConfig[][src]

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

Builder for a Minecraft ServerListPing connection.

Implementations

Initiates the Minecraft server connection build process.

Sets a specific protocol version for the connection to use. If not specified, the latest version will be used.

Sets a specific port for the connection to use. If not specified, the default port of 25565 will be used.

Sets a specific timeout for the connection to use. If not specified, the timeout defaults to two seconds.

Connects to the server and consumes the builder.

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.