#[repr(u32)]pub enum RemoteExceptionCode {
Ok = 0,
Unsupported = 1,
InvalidArgument = 2,
OutOfResources = 3,
UnknownOperation = 4,
UnknownException = 5,
UnknownInterface = 6,
}Expand description
Spec §7.5.1.1.1 Tab.7.55 — Server-side error code in ReplyHeader.
Variants§
Ok = 0
The operation completed successfully.
Unsupported = 1
The service does not support this operation.
InvalidArgument = 2
The argument was not spec-conformant.
OutOfResources = 3
The server does not have enough resources.
UnknownOperation = 4
The operation does not exist in the service.
UnknownException = 5
The operation threw a user exception that the stub does not know.
UnknownInterface = 6
The service interface is unknown to the server.
Implementations§
Trait Implementations§
Source§impl Clone for RemoteExceptionCode
impl Clone for RemoteExceptionCode
Source§fn clone(&self) -> RemoteExceptionCode
fn clone(&self) -> RemoteExceptionCode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RemoteExceptionCode
Source§impl Debug for RemoteExceptionCode
impl Debug for RemoteExceptionCode
Source§impl Default for RemoteExceptionCode
impl Default for RemoteExceptionCode
Source§fn default() -> RemoteExceptionCode
fn default() -> RemoteExceptionCode
Returns the “default value” for a type. Read more
impl Eq for RemoteExceptionCode
Source§impl Hash for RemoteExceptionCode
impl Hash for RemoteExceptionCode
Source§impl PartialEq for RemoteExceptionCode
impl PartialEq for RemoteExceptionCode
Source§fn eq(&self, other: &RemoteExceptionCode) -> bool
fn eq(&self, other: &RemoteExceptionCode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RemoteExceptionCode
Auto Trait Implementations§
impl Freeze for RemoteExceptionCode
impl RefUnwindSafe for RemoteExceptionCode
impl Send for RemoteExceptionCode
impl Sync for RemoteExceptionCode
impl Unpin for RemoteExceptionCode
impl UnsafeUnpin for RemoteExceptionCode
impl UnwindSafe for RemoteExceptionCode
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