Skip to main content

Crate bornera_core

Crate bornera_core 

Source
Expand description

Deterministic, sans-I/O connection policy for native protocol clients.

Structs§

ConnectionCore
Sole deterministic mutation owner for one exact connection epoch.
ConnectionEpoch
One exact lifetime of a physical connection.
ConnectionId
A physical connection slot.
ConnectionLimits
Bounded resources owned by one connection epoch.
ConnectionMachine
Deterministic single-owner policy for one exact connection epoch.
ConnectionRecovery
Bounded recovery contents for one fixed connection epoch.
ConnectionSnapshot
Immutable, data-only state for observation outside the owner path.
ConnectionTransition
Data-only effects and classification produced by one state transition.
Deadline
An absolute moment by which an owner must receive another turn.
DiscardedWrite
One frame removed before normal write completion.
DiscardedWrites
Bounded frames removed together when an epoch closes.
EffectId
A transport effect whose completion may return later.
EndpointId
A logical remote endpoint.
FrameCommitError
Failed atomic commit preserving both the permit and exact unsent frame.
FrameDriver
Bounded, terminal-on-malformation driver for one incremental decoder.
FrameMeasure
Wire length and retained memory sampled once when a frame is committed.
IdentitySeeds
Initial deterministic values for generated identities.
InboundReply
A complete opaque frame classified by an adapter as a reply.
LaneId
An opaque traffic lane within an endpoint.
MatchKey
A protocol-visible response matching identity.
MatchKeySpace
An inclusive range of protocol-visible match keys.
Moment
Nanoseconds elapsed from one owner-defined monotonic origin.
OperationId
An accepted operation owned by one epoch.
OperationOptions
Mechanical resources and timing attached to one operation reservation.
OperationPermit
An atomic reservation that rolls back all capacity when dropped.
OrderedVerified
FIFO matching state for replies whose key must equal the wire-order front.
RecoveredOperation
One nonterminal accepted operation recovered from a failed owner.
RetainedBytes
Variable memory retained by one value.
WriteSlice
Borrowed bytes from only the FIFO queue front.

Enums§

AdmissionClass
The class of work requesting admission.
AdmissionGate
Which classes of work one connection epoch currently accepts.
CancelOutcome
Result of explicit cancellation.
CloseReason
Why an epoch must close.
CommitErrorKind
Why a reserved operation could not be committed.
CompletionMode
Mechanical condition that releases an accepted operation.
ConnectionCoreError
Fatal deterministic aggregate failure requiring explicit owner recovery.
ConnectionCoreInvariant
Fatal disagreement between the aggregate policy and frame owners.
ConnectionEffect
A capability action or terminal publication requested by core policy.
ConnectionInput
An observation or command applied to the deterministic epoch machine.
ConnectionPhase
Physical lifecycle of one fixed connection epoch.
Delivery
What the local connection can prove after transferring application bytes.
FrameCommitFailure
Why an atomic frame commit could not transfer ownership to the writer.
FrameContractViolation
A frame changed the byte-view shape promised at commit.
FrameDecodeError
Why a bounded decoder driver could not admit or decode bytes.
InputDisposition
Whether an input changed the current epoch.
LimitsError
Invalid connection-limit configuration.
OperationFailure
A mechanical failure observed by the connection owner.
OperationOutcome
Exactly one terminal outcome for an accepted operation.
OperationPhase
The transport-owned phase of an accepted operation.
ReserveError
Why an operation reservation was rejected.
WriteAdmissionFailure
Why a complete frame could not enter the bounded writer.
WriteIdentityKind
Pending identity category that a new frame attempted to reuse.
WriteProgressError
Why reported transport progress could not mutate the FIFO front.

Traits§

FrameDecoder
Protocol-owned incremental decoding of complete inbound frames.
WriteFrame
A complete outbound frame with explicit retained-memory accounting.