Enum onc_rpc::AcceptedStatus [−][src]
pub enum AcceptedStatus<P> where
P: AsRef<[u8]>, { Success(P), ProgramUnavailable, ProgramMismatch { low: u32, high: u32, }, ProcedureUnavailable, GarbageArgs, SystemError, }
Expand description
The response status code for a request that contains valid credentials.
Variants
The RPC was successful, and the response payload is contained in the variant.
The specified program identifier has no handler in this server.
This is PROG_UNAVAIL
in the spec.
The program to invoke was found, but it doesn’t support the requested version.
This is PROG_MISMATCH
in the spec.
Show fields
The program to invoke was found, but the procedure number is not recognised.
This is PROC_UNAVAIL
in the spec.
The arguments provided to the RPC endpoint were not serialised correctly, or otherwise unacceptable.
This is GARBAGE_ARGS
in the spec.
The server experienced an internal error.
This is SYSTEM_ERR
in the spec.
Implementations
Serialises this AcceptedStatus
into buf
, advancing the cursor
position by serialised_len
bytes.
Returns the on-wire length of this type once serialised.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<P> RefUnwindSafe for AcceptedStatus<P> where
P: RefUnwindSafe,
impl<P> Send for AcceptedStatus<P> where
P: Send,
impl<P> Sync for AcceptedStatus<P> where
P: Sync,
impl<P> Unpin for AcceptedStatus<P> where
P: Unpin,
impl<P> UnwindSafe for AcceptedStatus<P> where
P: UnwindSafe,