Skip to main content

PoolSlug

Enum PoolSlug 

Source
#[repr(u8)]
pub enum PoolSlug {
Show 256 variants Unknown = 0, BlockFills = 1, UltimusPool = 2, TerraPool = 3, Luxor = 4, OneThash = 5, BtcCom = 6, Bitfarms = 7, HuobiPool = 8, WayiCn = 9, CanoePool = 10, BtcTop = 11, BitcoinCom = 12, Pool175btc = 13, GbMiners = 14, AXbt = 15, AsicMiner = 16, BitMinter = 17, BitcoinRussia = 18, BtcServ = 19, SimplecoinUs = 20, BtcGuild = 21, Eligius = 22, OzCoin = 23, EclipseMc = 24, MaxBtc = 25, TripleMining = 26, CoinLab = 27, Pool50btc = 28, GhashIo = 29, StMiningCorp = 30, Bitparking = 31, Mmpool = 32, Polmine = 33, KncMiner = 34, Bitalo = 35, F2Pool = 36, Hhtt = 37, MegaBigPower = 38, MtRed = 39, NmcBit = 40, YourbtcNet = 41, GiveMeCoins = 42, BraiinsPool = 43, AntPool = 44, MultiCoinCo = 45, BcpoolIo = 46, Cointerra = 47, KanoPool = 48, SoloCk = 49, CkPool = 50, NiceHash = 51, BitClub = 52, BitcoinAffiliateNetwork = 53, Btcc = 54, BwPool = 55, ExxBw = 56, Bitsolo = 57, BitFury = 58, TwentyOneInc = 59, DigitalBtc = 60, EightBaochi = 61, MyBtcCoinPool = 62, TbDice = 63, HashPool = 64, Nexious = 65, BravoMining = 66, HotPool = 67, OkExPool = 68, BcMonster = 69, OneHash = 70, Bixin = 71, TatmasPool = 72, ViaBtc = 73, ConnectBtc = 74, BatPool = 75, Waterhole = 76, DcExploration = 77, Dcex = 78, BtPool = 79, FiftyEightCoin = 80, BitcoinIndia = 81, ShawnP0wers = 82, PHashIo = 83, RigPool = 84, HaoZhuZhu = 85, SevenPool = 86, MiningKings = 87, HashBx = 88, DPool = 89, Rawpool = 90, Haominer = 91, Helix = 92, BitcoinUkraine = 93, Poolin = 94, SecretSuperstar = 95, TigerpoolNet = 96, SigmapoolCom = 97, OkpoolTop = 98, Hummerpool = 99, Tangpool = 100, BytePool = 101, SpiderPool = 102, NovaBlock = 103, MiningCity = 104, BinancePool = 105, Minerium = 106, LubianCom = 107, Okkong = 108, AaoPool = 109, EmcdPool = 110, FoundryUsa = 111, SbiCrypto = 112, ArkPool = 113, PureBtcCom = 114, MaraPool = 115, KuCoinPool = 116, EntrustCharityPool = 117, OkMiner = 118, Titan = 119, PegaPool = 120, BtcNuggets = 121, CloudHashing = 122, DigitalXMintsy = 123, Telco214 = 124, BtcPoolParty = 125, Multipool = 126, TransactionCoinMining = 127, BtcDig = 128, TrickysBtcPool = 129, BtcMp = 130, Eobot = 131, Unomp = 132, Patels = 133, GoGreenLight = 134, BitcoinIndiaPool = 135, EkanemBtc = 136, Canoe = 137, Tiger = 138, OneM1x = 139, Zulupool = 140, SecPool = 141, Ocean = 142, WhitePool = 143, Wiz = 144, Dummy145 = 145, Dummy146 = 146, Wk057 = 147, FutureBitApolloSolo = 148, Dummy149 = 149, Dummy150 = 150, CarbonNegative = 151, PortlandHodl = 152, Phoenix = 153, Neopool = 154, MaxiPool = 155, Dummy156 = 156, BitFuFuPool = 157, GDPool = 158, MiningDutch = 159, PublicPool = 160, MiningSquared = 161, InnopolisTech = 162, Dummy163 = 163, BtcLab = 164, Parasite = 165, RedRockPool = 166, Est3lar = 167, BraiinsSolo = 168, SoloPool = 169, Noderunners = 170, Dummy171 = 171, Dummy172 = 172, Dummy173 = 173, Dummy174 = 174, Dummy175 = 175, Dummy176 = 176, Dummy177 = 177, Dummy178 = 178, Dummy179 = 179, Dummy180 = 180, Dummy181 = 181, Dummy182 = 182, Dummy183 = 183, Dummy184 = 184, Dummy185 = 185, Dummy186 = 186, Dummy187 = 187, Dummy188 = 188, Dummy189 = 189, Dummy190 = 190, Dummy191 = 191, Dummy192 = 192, Dummy193 = 193, Dummy194 = 194, Dummy195 = 195, Dummy196 = 196, Dummy197 = 197, Dummy198 = 198, Dummy199 = 199, Dummy200 = 200, Dummy201 = 201, Dummy202 = 202, Dummy203 = 203, Dummy204 = 204, Dummy205 = 205, Dummy206 = 206, Dummy207 = 207, Dummy208 = 208, Dummy209 = 209, Dummy210 = 210, Dummy211 = 211, Dummy212 = 212, Dummy213 = 213, Dummy214 = 214, Dummy215 = 215, Dummy216 = 216, Dummy217 = 217, Dummy218 = 218, Dummy219 = 219, Dummy220 = 220, Dummy221 = 221, Dummy222 = 222, Dummy223 = 223, Dummy224 = 224, Dummy225 = 225, Dummy226 = 226, Dummy227 = 227, Dummy228 = 228, Dummy229 = 229, Dummy230 = 230, Dummy231 = 231, Dummy232 = 232, Dummy233 = 233, Dummy234 = 234, Dummy235 = 235, Dummy236 = 236, Dummy237 = 237, Dummy238 = 238, Dummy239 = 239, Dummy240 = 240, Dummy241 = 241, Dummy242 = 242, Dummy243 = 243, Dummy244 = 244, Dummy245 = 245, Dummy246 = 246, Dummy247 = 247, Dummy248 = 248, Dummy249 = 249, Dummy250 = 250, Dummy251 = 251, Dummy252 = 252, Dummy253 = 253, Dummy254 = 254, Dummy255 = 255,
}
Expand description

URL-friendly mining pool identifier

Variants§

§

Unknown = 0

§

BlockFills = 1

§

UltimusPool = 2

§

TerraPool = 3

§

Luxor = 4

§

OneThash = 5

§

BtcCom = 6

§

Bitfarms = 7

§

HuobiPool = 8

§

WayiCn = 9

§

CanoePool = 10

§

BtcTop = 11

§

BitcoinCom = 12

§

Pool175btc = 13

§

GbMiners = 14

§

AXbt = 15

§

AsicMiner = 16

§

BitMinter = 17

§

BitcoinRussia = 18

§

BtcServ = 19

§

SimplecoinUs = 20

§

BtcGuild = 21

§

Eligius = 22

§

OzCoin = 23

§

EclipseMc = 24

§

MaxBtc = 25

§

TripleMining = 26

§

CoinLab = 27

§

Pool50btc = 28

§

GhashIo = 29

§

StMiningCorp = 30

§

Bitparking = 31

§

Mmpool = 32

§

Polmine = 33

§

KncMiner = 34

§

Bitalo = 35

§

F2Pool = 36

§

Hhtt = 37

§

MegaBigPower = 38

§

MtRed = 39

§

NmcBit = 40

§

YourbtcNet = 41

§

GiveMeCoins = 42

§

BraiinsPool = 43

§

AntPool = 44

§

MultiCoinCo = 45

§

BcpoolIo = 46

§

Cointerra = 47

§

KanoPool = 48

§

SoloCk = 49

§

CkPool = 50

§

NiceHash = 51

§

BitClub = 52

§

BitcoinAffiliateNetwork = 53

§

Btcc = 54

§

BwPool = 55

§

ExxBw = 56

§

Bitsolo = 57

§

BitFury = 58

§

TwentyOneInc = 59

§

DigitalBtc = 60

§

EightBaochi = 61

§

MyBtcCoinPool = 62

§

TbDice = 63

§

HashPool = 64

§

Nexious = 65

§

BravoMining = 66

§

HotPool = 67

§

OkExPool = 68

§

BcMonster = 69

§

OneHash = 70

§

Bixin = 71

§

TatmasPool = 72

§

ViaBtc = 73

§

ConnectBtc = 74

§

BatPool = 75

§

Waterhole = 76

§

DcExploration = 77

§

Dcex = 78

§

BtPool = 79

§

FiftyEightCoin = 80

§

BitcoinIndia = 81

§

ShawnP0wers = 82

§

PHashIo = 83

§

RigPool = 84

§

HaoZhuZhu = 85

§

SevenPool = 86

§

MiningKings = 87

§

HashBx = 88

§

DPool = 89

§

Rawpool = 90

§

Haominer = 91

§

Helix = 92

§

BitcoinUkraine = 93

§

Poolin = 94

§

SecretSuperstar = 95

§

TigerpoolNet = 96

§

SigmapoolCom = 97

§

OkpoolTop = 98

§

Hummerpool = 99

§

Tangpool = 100

§

BytePool = 101

§

SpiderPool = 102

§

NovaBlock = 103

§

MiningCity = 104

§

BinancePool = 105

§

Minerium = 106

§

LubianCom = 107

§

Okkong = 108

§

AaoPool = 109

§

EmcdPool = 110

§

FoundryUsa = 111

§

SbiCrypto = 112

§

ArkPool = 113

§

PureBtcCom = 114

§

MaraPool = 115

§

KuCoinPool = 116

§

EntrustCharityPool = 117

§

OkMiner = 118

§

Titan = 119

§

PegaPool = 120

§

BtcNuggets = 121

§

CloudHashing = 122

§

DigitalXMintsy = 123

§

Telco214 = 124

§

BtcPoolParty = 125

§

Multipool = 126

§

TransactionCoinMining = 127

§

BtcDig = 128

§

TrickysBtcPool = 129

§

BtcMp = 130

§

Eobot = 131

§

Unomp = 132

§

Patels = 133

§

GoGreenLight = 134

§

BitcoinIndiaPool = 135

§

EkanemBtc = 136

§

Canoe = 137

§

Tiger = 138

§

OneM1x = 139

§

Zulupool = 140

§

SecPool = 141

§

Ocean = 142

§

WhitePool = 143

§

Wiz = 144

§

Dummy145 = 145

§

Dummy146 = 146

§

Wk057 = 147

§

FutureBitApolloSolo = 148

§

Dummy149 = 149

§

Dummy150 = 150

§

CarbonNegative = 151

§

PortlandHodl = 152

§

Phoenix = 153

§

Neopool = 154

§

MaxiPool = 155

§

Dummy156 = 156

§

BitFuFuPool = 157

§

GDPool = 158

§

MiningDutch = 159

§

PublicPool = 160

§

MiningSquared = 161

§

InnopolisTech = 162

§

Dummy163 = 163

§

BtcLab = 164

§

Parasite = 165

§

RedRockPool = 166

§

Est3lar = 167

§

BraiinsSolo = 168

§

SoloPool = 169

§

Noderunners = 170

§

Dummy171 = 171

§

Dummy172 = 172

§

Dummy173 = 173

§

Dummy174 = 174

§

Dummy175 = 175

§

Dummy176 = 176

§

Dummy177 = 177

§

Dummy178 = 178

§

Dummy179 = 179

§

Dummy180 = 180

§

Dummy181 = 181

§

Dummy182 = 182

§

Dummy183 = 183

§

Dummy184 = 184

§

Dummy185 = 185

§

Dummy186 = 186

§

Dummy187 = 187

§

Dummy188 = 188

§

Dummy189 = 189

§

Dummy190 = 190

§

Dummy191 = 191

§

Dummy192 = 192

§

Dummy193 = 193

§

Dummy194 = 194

§

Dummy195 = 195

§

Dummy196 = 196

§

Dummy197 = 197

§

Dummy198 = 198

§

Dummy199 = 199

§

Dummy200 = 200

§

Dummy201 = 201

§

Dummy202 = 202

§

Dummy203 = 203

§

Dummy204 = 204

§

Dummy205 = 205

§

Dummy206 = 206

§

Dummy207 = 207

§

Dummy208 = 208

§

Dummy209 = 209

§

Dummy210 = 210

§

Dummy211 = 211

§

Dummy212 = 212

§

Dummy213 = 213

§

Dummy214 = 214

§

Dummy215 = 215

§

Dummy216 = 216

§

Dummy217 = 217

§

Dummy218 = 218

§

Dummy219 = 219

§

Dummy220 = 220

§

Dummy221 = 221

§

Dummy222 = 222

§

Dummy223 = 223

§

Dummy224 = 224

§

Dummy225 = 225

§

Dummy226 = 226

§

Dummy227 = 227

§

Dummy228 = 228

§

Dummy229 = 229

§

Dummy230 = 230

§

Dummy231 = 231

§

Dummy232 = 232

§

Dummy233 = 233

§

Dummy234 = 234

§

Dummy235 = 235

§

Dummy236 = 236

§

Dummy237 = 237

§

Dummy238 = 238

§

Dummy239 = 239

§

Dummy240 = 240

§

Dummy241 = 241

§

Dummy242 = 242

§

Dummy243 = 243

§

Dummy244 = 244

§

Dummy245 = 245

§

Dummy246 = 246

§

Dummy247 = 247

§

Dummy248 = 248

§

Dummy249 = 249

§

Dummy250 = 250

§

Dummy251 = 251

§

Dummy252 = 252

§

Dummy253 = 253

§

Dummy254 = 254

§

Dummy255 = 255

Implementations§

Source§

impl PoolSlug

Source

pub fn is_major(&self) -> bool

Pools with dominance above per-window thresholds get full series. Thresholds: all-time>=1.0%, 1y>=1.0%, 1m>=0.75%, 1w>=0.5%. Generated by scripts/pool_major_threshold.py.

Trait Implementations§

Source§

impl Bytes for PoolSlug

Source§

type Array = [u8; 1]

The byte array type returned by to_bytes. For fixed-size types, this is [u8; N] where N is the size of the type.
Source§

fn to_bytes(&self) -> <PoolSlug as Bytes>::Array

Serializes this value to bytes. Read more
Source§

fn from_bytes(bytes: &[u8]) -> Result<PoolSlug, Error>

Deserializes a value from bytes. Read more
Source§

const IS_NATIVE_LAYOUT: bool = false

Whether the byte representation from to_bytes is identical to the in-memory representation of Self. When true, bulk operations can use memcpy instead of per-element deserialization. Read more
Source§

impl Clone for PoolSlug

Source§

fn clone(&self) -> PoolSlug

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for PoolSlug

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Default for PoolSlug

Source§

fn default() -> PoolSlug

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for PoolSlug

Source§

fn deserialize<__D>( __deserializer: __D, ) -> Result<PoolSlug, <__D as Deserializer<'de>>::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Display for PoolSlug

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Formattable for PoolSlug

Source§

fn write_to(&self, buf: &mut Vec<u8>)

Write formatted UTF-8 bytes. Primary method — all others derive from it.
Source§

fn fmt_json(&self, buf: &mut Vec<u8>)

Write in JSON format. Override for types needing JSON wrapping (e.g., string quotes).
Source§

fn fmt_into(&self, f: &mut String)

Write to a String via write_to.
Source§

fn fmt_csv(&self, f: &mut String) -> Result<(), Error>

Write in CSV format. Override for types needing CSV escaping (e.g., quoting commas).
Source§

impl From<PoolSlug> for u8

Source§

fn from(val: PoolSlug) -> u8

Converts to this type from the input type.
Source§

impl From<u8> for PoolSlug

Source§

fn from(val: u8) -> PoolSlug

Converts to this type from the input type.
Source§

impl Hash for PoolSlug

Source§

fn hash<__H>(&self, state: &mut __H)
where __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl JsonSchema for PoolSlug

Source§

fn schema_name() -> Cow<'static, str>

The name of the generated JSON Schema. Read more
Source§

fn schema_id() -> Cow<'static, str>

Returns a string that uniquely identifies the schema produced by this type. Read more
Source§

fn json_schema(generator: &mut SchemaGenerator) -> Schema

Generates a JSON Schema for this type. Read more
Source§

fn inline_schema() -> bool

Whether JSON Schemas generated for this type should be included directly in parent schemas, rather than being re-used where possible using the $ref keyword. Read more
Source§

impl Ord for PoolSlug

Source§

fn cmp(&self, other: &PoolSlug) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 (const: unstable) · Source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 (const: unstable) · Source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized,

Restrict a value to a certain interval. Read more
Source§

impl PartialEq for PoolSlug

Source§

fn eq(&self, other: &PoolSlug) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialOrd for PoolSlug

Source§

fn partial_cmp(&self, other: &PoolSlug) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 (const: unstable) · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 (const: unstable) · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 (const: unstable) · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 (const: unstable) · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Source§

impl Serialize for PoolSlug

Source§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl Copy for PoolSlug

Source§

impl Eq for PoolSlug

Source§

impl StructuralPartialEq for PoolSlug

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<Q, K> Comparable<K> for Q
where Q: Ord + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn compare(&self, key: &K) -> Ordering

Compare self to key and return their ordering.
Source§

impl<T> DynClone for T
where T: Clone,

Source§

fn __clone_box(&self, _: Private) -> *mut ()

Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> FromRef<T> for T
where T: Clone,

Source§

fn from_ref(input: &T) -> T

Converts to this type from a reference to the input type.
Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoApi for T

Source§

fn into_api<A>(self) -> UseApi<T, A>

into UseApi
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<D> OwoColorize for D

Source§

fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
where C: Color,

Set the foreground color generically Read more
Source§

fn bg<C>(&self) -> BgColorDisplay<'_, C, Self>
where C: Color,

Set the background color generically. Read more
Source§

fn black(&self) -> FgColorDisplay<'_, Black, Self>

Change the foreground color to black
Source§

fn on_black(&self) -> BgColorDisplay<'_, Black, Self>

Change the background color to black
Source§

fn red(&self) -> FgColorDisplay<'_, Red, Self>

Change the foreground color to red
Source§

fn on_red(&self) -> BgColorDisplay<'_, Red, Self>

Change the background color to red
Source§

fn green(&self) -> FgColorDisplay<'_, Green, Self>

Change the foreground color to green
Source§

fn on_green(&self) -> BgColorDisplay<'_, Green, Self>

Change the background color to green
Source§

fn yellow(&self) -> FgColorDisplay<'_, Yellow, Self>

Change the foreground color to yellow
Source§

fn on_yellow(&self) -> BgColorDisplay<'_, Yellow, Self>

Change the background color to yellow
Source§

fn blue(&self) -> FgColorDisplay<'_, Blue, Self>

Change the foreground color to blue
Source§

fn on_blue(&self) -> BgColorDisplay<'_, Blue, Self>

Change the background color to blue
Source§

fn magenta(&self) -> FgColorDisplay<'_, Magenta, Self>

Change the foreground color to magenta
Source§

fn on_magenta(&self) -> BgColorDisplay<'_, Magenta, Self>

Change the background color to magenta
Source§

fn purple(&self) -> FgColorDisplay<'_, Magenta, Self>

Change the foreground color to purple
Source§

fn on_purple(&self) -> BgColorDisplay<'_, Magenta, Self>

Change the background color to purple
Source§

fn cyan(&self) -> FgColorDisplay<'_, Cyan, Self>

Change the foreground color to cyan
Source§

fn on_cyan(&self) -> BgColorDisplay<'_, Cyan, Self>

Change the background color to cyan
Source§

fn white(&self) -> FgColorDisplay<'_, White, Self>

Change the foreground color to white
Source§

fn on_white(&self) -> BgColorDisplay<'_, White, Self>

Change the background color to white
Source§

fn default_color(&self) -> FgColorDisplay<'_, Default, Self>

Change the foreground color to the terminal default
Source§

fn on_default_color(&self) -> BgColorDisplay<'_, Default, Self>

Change the background color to the terminal default
Source§

fn bright_black(&self) -> FgColorDisplay<'_, BrightBlack, Self>

Change the foreground color to bright black
Source§

fn on_bright_black(&self) -> BgColorDisplay<'_, BrightBlack, Self>

Change the background color to bright black
Source§

fn bright_red(&self) -> FgColorDisplay<'_, BrightRed, Self>

Change the foreground color to bright red
Source§

fn on_bright_red(&self) -> BgColorDisplay<'_, BrightRed, Self>

Change the background color to bright red
Source§

fn bright_green(&self) -> FgColorDisplay<'_, BrightGreen, Self>

Change the foreground color to bright green
Source§

fn on_bright_green(&self) -> BgColorDisplay<'_, BrightGreen, Self>

Change the background color to bright green
Source§

fn bright_yellow(&self) -> FgColorDisplay<'_, BrightYellow, Self>

Change the foreground color to bright yellow
Source§

fn on_bright_yellow(&self) -> BgColorDisplay<'_, BrightYellow, Self>

Change the background color to bright yellow
Source§

fn bright_blue(&self) -> FgColorDisplay<'_, BrightBlue, Self>

Change the foreground color to bright blue
Source§

fn on_bright_blue(&self) -> BgColorDisplay<'_, BrightBlue, Self>

Change the background color to bright blue
Source§

fn bright_magenta(&self) -> FgColorDisplay<'_, BrightMagenta, Self>

Change the foreground color to bright magenta
Source§

fn on_bright_magenta(&self) -> BgColorDisplay<'_, BrightMagenta, Self>

Change the background color to bright magenta
Source§

fn bright_purple(&self) -> FgColorDisplay<'_, BrightMagenta, Self>

Change the foreground color to bright purple
Source§

fn on_bright_purple(&self) -> BgColorDisplay<'_, BrightMagenta, Self>

Change the background color to bright purple
Source§

fn bright_cyan(&self) -> FgColorDisplay<'_, BrightCyan, Self>

Change the foreground color to bright cyan
Source§

fn on_bright_cyan(&self) -> BgColorDisplay<'_, BrightCyan, Self>

Change the background color to bright cyan
Source§

fn bright_white(&self) -> FgColorDisplay<'_, BrightWhite, Self>

Change the foreground color to bright white
Source§

fn on_bright_white(&self) -> BgColorDisplay<'_, BrightWhite, Self>

Change the background color to bright white
Source§

fn bold(&self) -> BoldDisplay<'_, Self>

Make the text bold
Source§

fn dimmed(&self) -> DimDisplay<'_, Self>

Make the text dim
Source§

fn italic(&self) -> ItalicDisplay<'_, Self>

Make the text italicized
Source§

fn underline(&self) -> UnderlineDisplay<'_, Self>

Make the text underlined
Make the text blink
Make the text blink (but fast!)
Source§

fn reversed(&self) -> ReversedDisplay<'_, Self>

Swap the foreground and background colors
Source§

fn hidden(&self) -> HiddenDisplay<'_, Self>

Hide the text
Source§

fn strikethrough(&self) -> StrikeThroughDisplay<'_, Self>

Cross out the text
Source§

fn color<Color>(&self, color: Color) -> FgDynColorDisplay<'_, Color, Self>
where Color: DynColor,

Set the foreground color at runtime. Only use if you do not know which color will be used at compile-time. If the color is constant, use either OwoColorize::fg or a color-specific method, such as OwoColorize::green, Read more
Source§

fn on_color<Color>(&self, color: Color) -> BgDynColorDisplay<'_, Color, Self>
where Color: DynColor,

Set the background color at runtime. Only use if you do not know what color to use at compile-time. If the color is constant, use either OwoColorize::bg or a color-specific method, such as OwoColorize::on_yellow, Read more
Source§

fn fg_rgb<const R: u8, const G: u8, const B: u8>( &self, ) -> FgColorDisplay<'_, CustomColor<R, G, B>, Self>

Set the foreground color to a specific RGB value.
Source§

fn bg_rgb<const R: u8, const G: u8, const B: u8>( &self, ) -> BgColorDisplay<'_, CustomColor<R, G, B>, Self>

Set the background color to a specific RGB value.
Source§

fn truecolor(&self, r: u8, g: u8, b: u8) -> FgDynColorDisplay<'_, Rgb, Self>

Sets the foreground color to an RGB value.
Source§

fn on_truecolor(&self, r: u8, g: u8, b: u8) -> BgDynColorDisplay<'_, Rgb, Self>

Sets the background color to an RGB value.
Source§

fn style(&self, style: Style) -> Styled<&Self>

Apply a runtime-determined style
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> BytesVecValue for T
where T: VecValue + Bytes,

Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<A, B, T> HttpServerConnExec<A, B> for T
where B: Body,

Source§

impl<T> VecValue for T
where T: Debug + Clone + Send + Sync + 'static,