#[repr(transparent)]pub struct OnStatusCode(pub &'static str);
Expand description
Common status codes used in the onStatus
command.
Tuple Fields§
§0: &'static str
Implementations§
Source§impl OnStatusCode
impl OnStatusCode
Sourcepub const NET_CONNECTION_CALL_FAILED: Self
pub const NET_CONNECTION_CALL_FAILED: Self
The NetConnection.call()
method was not able to invoke the server-side method or command.
Sourcepub const NET_CONNECTION_CONNECT_APP_SHUTDOWN: Self
pub const NET_CONNECTION_CONNECT_APP_SHUTDOWN: Self
The application has been shut down (for example, if the application is out of memory resources and must shut down to prevent the server from crashing) or the server has shut down.
Sourcepub const NET_CONNECTION_CONNECT_CLOSED: Self
pub const NET_CONNECTION_CONNECT_CLOSED: Self
The connection was closed successfully.
Sourcepub const NET_CONNECTION_CONNECT_FAILED: Self
pub const NET_CONNECTION_CONNECT_FAILED: Self
The connection attempt failed.
Sourcepub const NET_CONNECTION_CONNECT_REJECTED: Self
pub const NET_CONNECTION_CONNECT_REJECTED: Self
The client does not have permission to connect to the application.
Sourcepub const NET_CONNECTION_CONNECT_SUCCESS: Self
pub const NET_CONNECTION_CONNECT_SUCCESS: Self
The connection attempt succeeded.
Sourcepub const NET_CONNECTION_CONNECT_RECONNECT_REQUEST: Self
pub const NET_CONNECTION_CONNECT_RECONNECT_REQUEST: Self
The server is requesting the client to reconnect.
Sourcepub const NET_CONNECTION_PROXY_NOT_RESPONDING: Self
pub const NET_CONNECTION_PROXY_NOT_RESPONDING: Self
The proxy server is not responding. See the ProxyStream class.
Sourcepub const NET_STREAM_PUBLISH_START: Self
pub const NET_STREAM_PUBLISH_START: Self
Publishing has started.
Sourcepub const NET_STREAM_DELETE_STREAM_SUCCESS: Self
pub const NET_STREAM_DELETE_STREAM_SUCCESS: Self
Stream was successfully deleted.
Trait Implementations§
Source§impl Clone for OnStatusCode
impl Clone for OnStatusCode
Source§fn clone(&self) -> OnStatusCode
fn clone(&self) -> OnStatusCode
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for OnStatusCode
impl Debug for OnStatusCode
Source§impl From<&'static str> for OnStatusCode
impl From<&'static str> for OnStatusCode
Source§impl From<OnStatusCode> for &'static str
impl From<OnStatusCode> for &'static str
Source§fn from(value: OnStatusCode) -> Self
fn from(value: OnStatusCode) -> Self
Converts to this type from the input type.
Source§impl Hash for OnStatusCode
impl Hash for OnStatusCode
Source§impl Ord for OnStatusCode
impl Ord for OnStatusCode
Source§fn cmp(&self, other: &OnStatusCode) -> Ordering
fn cmp(&self, other: &OnStatusCode) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for OnStatusCode
impl PartialEq for OnStatusCode
Source§impl PartialOrd for OnStatusCode
impl PartialOrd for OnStatusCode
Source§impl Serialize for OnStatusCode
impl Serialize for OnStatusCode
impl Copy for OnStatusCode
impl Eq for OnStatusCode
impl StructuralPartialEq for OnStatusCode
Auto Trait Implementations§
impl Freeze for OnStatusCode
impl RefUnwindSafe for OnStatusCode
impl Send for OnStatusCode
impl Sync for OnStatusCode
impl Unpin for OnStatusCode
impl UnwindSafe for OnStatusCode
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