pub enum Code {
Show 58 variants
Toml,
UnknownField,
MissingField,
BadValue,
RouterAttach,
SelectInterfaces,
UnknownProtocol,
SharedProtocol,
BatchOverLease,
FarOfTwoFaces,
ServiceUnknown,
ContractUnknown,
TemplatedExposure,
CarveOutOverlap,
IntervalOverHorizon,
ExposureDisagrees,
FrameOverInterval,
FrameOverBatch,
HistoryOnFrame,
OwnerHeartbeatDenied,
WindowUnderOutage,
ZkNotDenied,
WildcardDownsampling,
IntersectingDownsampling,
BlockDisabled,
NearSubjectOnFace,
FaceSubjectMissing,
FaceSubjectBeyondFace,
FaceSubjectMisplaced,
NarrowedTooFar,
TransportMissing,
MovedField,
WaitUnderLease,
KeepAliveFlaps,
SequenceWindow,
OpenUnderHandshake,
ReplyTimeoutShort,
NoArq,
TransportDiffers,
PeerDiffers,
FaceTimestamping,
CatalogMismatch,
PackedRequired,
NotPacked,
FrameUnknown,
EventUnknown,
FrameUnlisted,
KeyframeUnreachable,
HorizonUnderFace,
BlockOverBatch,
KeepAliveNotSuppressed,
TimedDownsampled,
CatalogMissing,
DeviceListed,
PresenceRequired,
EpochOnDevice,
NearOpensUser,
NearOpensUnauthenticated,
}Expand description
The closed vocabulary of findings.
Variants§
Toml
The file is not TOML 1.0 (§2.1).
UnknownField
A key the format does not define (§2.1).
MissingField
A required key absent (§2.1).
BadValue
A value of the wrong type or outside its range (§2.1).
RouterAttach
attach = "router" (§2.5).
SelectInterfaces
select.interfaces (§2.14).
UnknownProtocol
A link protocol zenoh 1.10.1 does not name (§2.1).
Two faces with a common link protocol (§2.14).
BatchOverLease
A batch over a third of the lease (§2.10).
FarOfTwoFaces
Two or more faces naming one far principal, whose policy then carries every one of their plans’ denies on each of them (§2.1, §2.4, 0.7, F-125).
ServiceUnknown
A listed service the deployment names no interfaces for (§2.3).
ContractUnknown
An interface whose contract is not given (§2.3).
TemplatedExposure
An exposed stream with a parameter, denied (§2.8).
CarveOutOverlap
An exposed resource a deny must include (§2.7).
IntervalOverHorizon
A crossing stream whose horizon is below twice the interval (§2.12).
ExposureDisagrees
Revisions of a listed interface that disagree on a resource’s
exposure, one link and another not: it does not cross (§2.3, 0.3).
FrameOverInterval
A crossing frame resource whose interval is shorter than the
face’s interval_s: never downsampled, it crosses at its own
cadence (§2.8).
FrameOverBatch
A crossing frame resource whose largest frame, with its
allowance, does not fit the face’s batch: it is fragmented, and
lost whole (§2.8).
HistoryOnFrame
A crossing frame resource that declares history: every put pays
the advanced publisher’s source info across the face, and its
history stays home (§2.8).
OwnerHeartbeatDenied
A listed service whose owner heartbeats the deployment turns on,
implementing an interface whose heartbeat crosses a link.v1 face:
no owner heartbeat crosses one, so its far readers may hear no
confirmation (§2.3, §2.9; #1145).
WindowUnderOutage
A listed owner’s tombstone window below the outage (§2.11).
ZkNotDenied
A block whose denies leave a pair of @zk open (§2.15).
WildcardDownsampling
A downsampling rule that is not one concrete key (§2.15).
IntersectingDownsampling
Two downsampling rules that intersect (§2.15).
BlockDisabled
A block whose access control is not enabled: zenoh enforces none of its rules (§2.15, 0.7, F-124).
NearSubjectOnFace
A subject on the face bound to another principal than the face’s far one, whatever else it names (§2.4, §2.15, 0.3; widened in 0.4, F-120).
FaceSubjectMissing
Under allow, a link protocol of the face that no face subject
naming no interface and no zid selects (§2.4, §2.15, 0.3).
FaceSubjectBeyondFace
A face subject that also selects sessions off the face (§2.4, §2.15, 0.4, F-120).
FaceSubjectMisplaced
A face subject not listed in exactly the far principal’s policies (§2.4, §2.15, 0.4, F-120).
NarrowedTooFar
Under allow, a name the block binds whose session over a link
protocol it is not kept off matches no subject (§2.4, §2.15, 0.4,
F-120).
TransportMissing
A link.v2 policy with no [transport] (v2 §2.1).
MovedField
A face’s lease_ms or batch_bytes in a link.v2 policy: they are
[transport]’s (v2 §2.1).
WaitUnderLease
wait_before_close below the lease, in a policy or a router’s
configuration (v2 §2.16, §2.19).
KeepAliveFlaps
A face’s loss makes more than one false close a day likely (v2 §2.16).
SequenceWindow
One lease can carry the sequence window in full batches (v2 §2.16).
OpenUnderHandshake
An open or accept timeout below twice the handshake’s air (v2 §2.16).
ReplyTimeoutShort
A face’s reply timeout below 16 full batches’ air (v2 §2.1).
NoArq
A face whose medium repairs no lost frame (v2 §2.1).
TransportDiffers
A router’s configuration runs a transport key other than the policy’s (v2 §2.19).
PeerDiffers
The far end’s lease or keep-alive is not the near router’s (v2 §2.19).
FaceTimestamping
A router’s configuration stamps the puts it routes onto the face (v2 §2.18, §2.19; core §8.2).
CatalogMismatch
The catalog the far side holds is not the policy’s (v2 §2.19).
PackedRequired
A contract that lists link.v2 exposes a resource whose type is not
packed (v2 §2.17).
NotPacked
A crossing resource of a contract that does not list link.v2,
whose type is not packed (v2 §2.3, §2.17).
FrameUnknown
A face’s frames entry that names no frame resource of a listed
interface (v2 §2.7).
EventUnknown
A face’s events entry that names no event resource of a listed
interface (v2 §2.7). An event that is listed but not exposed is
denied, never this.
FrameUnlisted
An exposed frame resource of a listed interface that a face’s
frames leaves out, and that crosses no face of the policy (v2
§2.7).
KeyframeUnreachable
A listed frame whose keyframe_s its contract’s keyframe_every
cannot reach at the face’s every_s (v2 §2.7).
HorizonUnderFace
A crossing heartbeat, owner heartbeat or frame resource whose
horizon is below the face’s horizon_s (v2 §2.9, §2.12).
BlockOverBatch
A crossing block resource whose longest put, with its
allowance, does not fit the batch, or a crossing owner
heartbeat’s, at freshness.v2/stream/heartbeats/link (v2 §2.16).
KeepAliveNotSuppressed
A face whose shortest crossing cadence is the keep-alive interval or above it (v2 §2.16).
TimedDownsampled
A timed stream, denied rather than downsampled (v2 §2.8).
CatalogMissing
A revision of an interface that crosses the face, which the deployment’s catalog does not list (v2 §2.18).
DeviceListed
A device the policy lists elsewhere: among services, or in
another face’s devices (v2 §2.1, §2.5).
PresenceRequired
A device that implements archive.v1, or an interface a revision
given of which uses redundancy.v1 or redundancy.v2: each needs
presence on its peers’ side of the face (v2 §2.5, 0.29; core §8.1,
redundancy.v2 §2.13).
EpochOnDevice
On a device face, a template of a device’s interface that declares
epoch: its member tokens cross the face at each transport, and the
face denies them (v2 §2.5).
NearOpensUser
A face the near router opens (opens = "near") whose far principal
the deployment binds by a user name: zenoh’s usrpwd binds a user
name only to a link the router accepted (v2 §2.5).
NearOpensUnauthenticated
Under allow, a face the near router opens whose far principal is a
user name: planned, and nobody across it is authenticated (v2 §2.5).
Implementations§
Trait Implementations§
impl Copy for Code
impl Eq for Code
impl StructuralPartialEq for Code
Auto Trait Implementations§
impl Forget for Code
impl Freeze for Code
impl Move for Code
impl RefUnwindSafe for Code
impl Send for Code
impl Sync for Code
impl Unpin for Code
impl UnsafeUnpin for Code
impl UnwindSafe for Code
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
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 moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
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