#[non_exhaustive]pub enum DescribeKind {
Class,
Object,
Function,
Catalog,
}Expand description
Which kind of describe answer was checked.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Class
"kind": "class".
Object
"kind": "object".
Function
"kind": "function" (since spec-0.6.0): a function name, with its fn_hash, args
and returns.
Catalog
"kind": "catalog" (the classes round, C7): the catalogue root of a mesh, at
describe/<host>/catalog. It names no class and no function.
Trait Implementations§
Source§impl Clone for DescribeKind
impl Clone for DescribeKind
impl Copy for DescribeKind
Source§impl Debug for DescribeKind
impl Debug for DescribeKind
impl Eq for DescribeKind
Source§impl Hash for DescribeKind
impl Hash for DescribeKind
Source§impl PartialEq for DescribeKind
impl PartialEq for DescribeKind
impl StructuralPartialEq for DescribeKind
Auto Trait Implementations§
impl Forget for DescribeKind
impl Freeze for DescribeKind
impl Move for DescribeKind
impl RefUnwindSafe for DescribeKind
impl Send for DescribeKind
impl Sync for DescribeKind
impl Unpin for DescribeKind
impl UnsafeUnpin for DescribeKind
impl UnwindSafe for DescribeKind
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