pub enum Profile {
Server,
LocalDiscovery,
Test,
Lowpower,
AnnounceOff,
AnnounceOn,
Randomports,
LegacyCidV0,
TestCidV1,
}Expand description
Available configuration profiles
Variants§
Server
Recommended for nodes with public IPv4 address
LocalDiscovery
Enable local network discovery
Test
Reduce resource usage for testing
Lowpower
Reduce resource usage for low-power devices
AnnounceOff
Disable address announcement
AnnounceOn
Enable address announcement (default)
Randomports
Use random ports
LegacyCidV0
Use legacy CIDv0 by default
TestCidV1
Use CIDv1 by default (for testing)
Implementations§
Trait Implementations§
impl Copy for Profile
impl Eq for Profile
impl StructuralPartialEq for Profile
Auto Trait Implementations§
impl Freeze for Profile
impl RefUnwindSafe for Profile
impl Send for Profile
impl Sync for Profile
impl Unpin for Profile
impl UnwindSafe for Profile
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more