Expand description
Presets allow configuring an endpoint quickly with a chosen set of defaults.
§Example
use iroh::{Endpoint, RelayMode, Watcher, endpoint::presets};
let endpoint = Endpoint::empty_builder(RelayMode::Disabled)
.preset(presets::N0)
.bind()
.await?;Structs§
- N0
- Configures the endpoint to use the n0 defaults
Traits§
- Preset
- Defines a preset