Enum remotery::error::RemoteryError [] [src]

pub enum RemoteryError {
    Malloc,
    TlsAllocFail,
    VirtualMemoryBufferFail,
    CreateThreadFail,
    SocketInitNetworkFail,
    SocketCreateFail,
    SocketBindFail,
    SocketListenFail,
    SocketSetNonBlockingFail,
    SocketInvalidPoll,
    SocketSelectFail,
    SocketPollErrors,
    SocketAcceptFail,
    SocketSendTimeout,
    SocketSendFail,
    SocketRecvNoData,
    SocketRecvTimeout,
    SocketRecvFailed,
    WebsocketHandshakeNotGet,
    WebsocketHandshakeNoVersion,
    WebsocketHandshakeBadVersion,
    WebsocketHandshakeNoHost,
    WebsocketHandshakeBadHost,
    WebsocketHandshakeNoKey,
    WebsocketHandshakeBadKey,
    WebsocketHandshakeStringFail,
    WebsocketDisconnected,
    WebsocketBadFrameHeader,
    WebsocketBadFrameHeaderSize,
    WebsocketBadFrameHeaderMask,
    WebsocketReceiveTimeout,
    RemoteryNotCreated,
    SendOnIncompleteProfile,
    CudaDeinitialized,
    CudaNotInitialized,
    CudaInvalidContext,
    CudaInvalidValue,
    CudaInvalidHandle,
    CudaOutofMemory,
    ErrorNotReady,
    D3d11FailedToCreateQuery,
    OpenglError,
    Unknown,
}

Variants

Malloc call within remotery failed

Attempt to allocate thread local storage failed

Failed to create a virtual memory mirror buffer

Failed to create a thread for the server

Network initialisation failure (e.g. on Win32, WSAStartup fails)

Can't create a socket for connection to the remote viewer

Can't bind a socket for the server

Created server socket failed to enter a listen state

Created server socket failed to switch to a non-blocking state

Poll attempt on an invalid socket

Server failed to call select on socket

Poll notified that the socket has errors

Server failed to accept connection from client

Timed out trying to send data

Unrecoverable error occured while client/server tried to send data

No data available when attempting a receive

Timed out trying to receive data

Unrecoverable error occured while client/server tried to receive data

WebSocket server handshake failed, not HTTP GET

WebSocket server handshake failed, can't locate WebSocket version

WebSocket server handshake failed, unsupported WebSocket version

WebSocket server handshake failed, can't locate host

WebSocket server handshake failed, host is not allowed to connect

WebSocket server handshake failed, can't locate WebSocket key

WebSocket server handshake failed, WebSocket key is ill-formed

WebSocket server handshake failed, internal error, bad string code

WebSocket server received a disconnect request and closed the socket

Couldn't parse WebSocket frame header

Partially received wide frame header size

Partially received frame header data mask

Timeout receiving frame header

Remotery object has not been created

An attempt was made to send an incomplete profile tree to the client

This indicates that the CUDA driver is in the process of shutting down

This indicates that the CUDA driver has not been initialized with cuInit() or that initialization has failed

This most frequently indicates that there is no context bound to the current thread

This indicates that one or more of the parameters passed to the API call is not within an acceptable range of values

This indicates that a resource handle passed to the API call was not valid

The API call failed because it was unable to allocate enough memory to perform the requested operation

This indicates that a resource handle passed to the API call was not valid

Failed to create query for sample

Generic OpenGL error, no real need to expose more detail since app will probably have an OpenGL error callback registered

Unknown error

Trait Implementations

impl Debug for RemoteryError
[src]

Formats the value using the given formatter.

impl Clone for RemoteryError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for RemoteryError
[src]

impl Display for RemoteryError
[src]

Formats the value using the given formatter. Read more

impl Error for RemoteryError
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more