Enum doors::DoorCallError
source · pub enum DoorCallError {
E2BIG,
EAGAIN,
EBADF,
EFAULT,
EINTR,
EINVAL,
EMFILE,
ENFILE,
ENOBUFS,
ENOTSUP,
EOVERFLOW,
}
Expand description
Failure conditions for door_call
.
According to door_call(3C)
, if a door_call
fails, errno will be set
to one of these values. While this enum is not strictly derived from
anything in doors.h, it is spelled out in the man page.
Variants§
E2BIG
Arguments were too big for server thread stack.
EAGAIN
Server was out of available resources.
EBADF
Invalid door descriptor was passed.
EFAULT
Argument pointers pointed outside the allocated address space.
EINTR
A signal was caught in the client, the client called fork(2)
, or the
server exited during invocation.
EINVAL
Bad arguments were passed.
EMFILE
The client or server has too many open descriptors.
ENFILE
The desc_num argument is larger than the door’s DOOR_PARAM_DESC_MAX
parameter (see door_getparam(3C)
), and the door does not have the
DOOR_REFUSE_DESC
set.
ENOBUFS
The data_size argument is larger than the door’s DOOR_PARAM_DATA_MAX
parameter, or smaller than the door’s DOOR_PARAM_DATA_MIN
parameter
(see door_getparam(3C)
).
ENOTSUP
The desc_num argument is non-zero and the door has the
DOOR_REFUSE_DESC
flag set.
EOVERFLOW
System could not create overflow area in caller for results.
Trait Implementations§
source§impl Debug for DoorCallError
impl Debug for DoorCallError
source§impl PartialEq<DoorCallError> for DoorCallError
impl PartialEq<DoorCallError> for DoorCallError
source§fn eq(&self, other: &DoorCallError) -> bool
fn eq(&self, other: &DoorCallError) -> bool
self
and other
values to be equal, and is used
by ==
.