#[repr(u64)]pub enum PublishDoneStatusCode {
InternalError = 0,
Unauthorized = 1,
TrackEnded = 2,
GoingAway = 4,
TooFarBehind = 5,
Expired = 6,
ExpiredAuthToken = 7,
UpdateFailed = 8,
ExcessiveLoad = 9,
MalformedTrack = 18,
}Expand description
PUBLISH_DONE codes (draft-23 Section 16.12.3, Table 22).
The per-code definitions are in Section 12.4. 0x3 is unassigned.
Variants§
InternalError = 0
INTERNAL_ERROR — An implementation specific or generic error
occurred.
UNAUTHORIZED — The subscriber is no longer authorized to subscribe to
the given track.
TrackEnded = 2
TRACK_ENDED — The track is no longer being published.
GoingAway = 4
GOING_AWAY — The subscriber or publisher issued a GOAWAY message.
TooFarBehind = 5
TOO_FAR_BEHIND — The publisher’s queue of objects to be sent to the
given subscriber exceeds its implementation defined limit.
Expired = 6
EXPIRED — The publisher reached the timeout specified in
SUBSCRIBE_OK.
ExpiredAuthToken = 7
EXPIRED_AUTH_TOKEN — The authorization token that authorized the
subscription has expired (see Section 9.9).
UpdateFailed = 8
UPDATE_FAILED — REQUEST_UPDATE failed on this subscription (see
Section 9.5).
ExcessiveLoad = 9
EXCESSIVE_LOAD — The publisher is overloaded and is terminating the
subscription.
MalformedTrack = 18
MALFORMED_TRACK — A relay publisher detected that the track was
malformed (see Section 12.1).
Implementations§
Source§impl PublishDoneStatusCode
impl PublishDoneStatusCode
Sourcepub const ALL: &[PublishDoneStatusCode]
pub const ALL: &[PublishDoneStatusCode]
Every PUBLISH_DONE Status Code draft-23 assigns, in ascending wire
order: the set Self::from_u64 accepts.