module Pf::Core::IProbeAdd(T)

Overview

Includers can add stored values to the trie, or replace them.

Included Modules

Direct including types

Defined in:

permafrost/core/node.cr

Instance Method Summary

Instance methods inherited from module Pf::Core::IProbeAuthored

author : AuthorId author

Instance methods inherited from module Pf::Core::IProbeFetch(T)

match?(stored : T) : Bool match?, path : UInt64 path

Instance Method Detail

abstract def replace?(stored : T) : Bool #

Returns true if an existing stored value should be replaced with this probe's own #value.


[View source]
abstract def value : T #

Returns the value associated with this probe, to be stored in Node.


[View source]