Type Alias kitsune_p2p_dht::arq::ArqLocated
source · pub type ArqLocated = Arq<Loc>;
Expand description
Alias for Arq with an Loc start
Aliased Type§
struct ArqLocated {
pub start: DhtLocation,
pub power: u8,
pub count: SpaceOffset,
}
Fields§
§start: DhtLocation
The “start” defines the left edge of the arq
power: u8
The level of quantization. Total length is 2^power * count
.
The power must be between 0 and 31, inclusive (power of 32 causes overflow)
count: SpaceOffset
The number of unit lengths. We never expect the count to be less than 4 or so, and not much larger than 32.