fix non-exhaustive pattern issue

This commit is contained in:
bunnie 2022-10-03 00:53:31 +08:00
parent 94e531f2d2
commit cc5bef5a79
2 changed files with 1 additions and 3 deletions

View file

@ -3,7 +3,7 @@ authors = ["bunnie <bunnie@kosagi.com>"]
description = "Xous microkernel OS inter-process name resolution server"
edition = "2018"
name = "xous-api-names"
version = "0.9.1"
version = "0.9.2"
license = "MIT OR Apache-2.0"
repository = "https://github.com/betrusted-io/xous-core/"
homepage = "https://betrusted.io/"

View file

@ -2,7 +2,6 @@
pub const AUTHENTICATE_TIMEOUT: u32 = 10_000; // time in ms that a process has to respond to an authentication request
#[derive(num_derive::FromPrimitive, num_derive::ToPrimitive)]
#[non_exhaustive]
#[repr(C)]
pub enum Opcode {
/// Create a new server with the given name and return its SID.
@ -53,7 +52,6 @@ pub enum Opcode {
}
#[derive(Debug, rkyv::Archive, rkyv::Serialize, rkyv::Deserialize)]
#[non_exhaustive]
#[repr(C)]
pub enum Return {
/// The caller must perform an AuthenticatedLookup using this challenge