pub enum ClientLogicError {
Show 16 variants
IoErr(Error),
WrongJoinResponseRequestId {
expected: ClientRequestId,
encountered: ClientRequestId,
},
WrongConnectResponseRequestId(ClientRequestId),
WrongDownloadRequestId,
DownloadResponseWasUnexpected,
UnexpectedBlobChannelCommand,
BlobError(BlobError),
FrontLogicErr(FrontLogicError),
QueueError(QueueError),
ReceivedConnectResponseWhenNotConnecting,
CanNotPushEmptyPredictedSteps,
MillisFromLowerError,
AbsoluteTimeError,
TooManyAuthoritativeSteps,
LatencyIsTooBig,
TooManyStepsInRange,
}
Variants§
IoErr(Error)
WrongJoinResponseRequestId
WrongConnectResponseRequestId(ClientRequestId)
WrongDownloadRequestId
DownloadResponseWasUnexpected
UnexpectedBlobChannelCommand
BlobError(BlobError)
FrontLogicErr(FrontLogicError)
QueueError(QueueError)
ReceivedConnectResponseWhenNotConnecting
CanNotPushEmptyPredictedSteps
MillisFromLowerError
AbsoluteTimeError
TooManyAuthoritativeSteps
LatencyIsTooBig
TooManyStepsInRange
Trait Implementations§
Source§impl Debug for ClientLogicError
impl Debug for ClientLogicError
Source§impl Display for ClientLogicError
impl Display for ClientLogicError
Source§impl Error for ClientLogicError
impl Error for ClientLogicError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl ErrorLevelProvider for ClientLogicError
impl ErrorLevelProvider for ClientLogicError
fn error_level(&self) -> ErrorLevel
Source§impl From<BlobError> for ClientLogicError
impl From<BlobError> for ClientLogicError
Source§impl From<Error> for ClientLogicError
impl From<Error> for ClientLogicError
Source§impl From<FrontLogicError> for ClientLogicError
impl From<FrontLogicError> for ClientLogicError
Source§fn from(err: FrontLogicError) -> Self
fn from(err: FrontLogicError) -> Self
Converts to this type from the input type.
Source§impl From<QueueError> for ClientLogicError
impl From<QueueError> for ClientLogicError
Source§fn from(err: QueueError) -> Self
fn from(err: QueueError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ClientLogicError
impl !RefUnwindSafe for ClientLogicError
impl Send for ClientLogicError
impl Sync for ClientLogicError
impl Unpin for ClientLogicError
impl !UnwindSafe for ClientLogicError
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
Mutably borrows from an owned value. Read more