#[repr(u8)]pub enum ArgumentType {
Null = 0,
Int32 = 1,
Uint32 = 2,
Int64 = 3,
Uint64 = 4,
Double = 5,
String = 6,
Pointer = 7,
Koid = 8,
Bool = 9,
Blob = 10,
}Expand description
Enumerates all known argument types.
Variants§
Null = 0
Int32 = 1
Uint32 = 2
Int64 = 3
Uint64 = 4
Double = 5
String = 6
Pointer = 7
Koid = 8
Bool = 9
Blob = 10
Trait Implementations§
Source§impl Debug for ArgumentType
impl Debug for ArgumentType
impl Eq for ArgumentType
impl Immutable for ArgumentType
Source§impl IntoBytes for ArgumentTypewhere
(): PaddingFree<Self, { _ }>,
impl IntoBytes for ArgumentTypewhere
(): PaddingFree<Self, { _ }>,
Source§impl PartialEq for ArgumentType
impl PartialEq for ArgumentType
impl StructuralPartialEq for ArgumentType
Source§impl TryFromBytes for ArgumentType
impl TryFromBytes for ArgumentType
Source§fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<!, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<!, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
Source§fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<!, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<!, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
Source§fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<!, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<!, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
Auto Trait Implementations§
impl Freeze for ArgumentType
impl RefUnwindSafe for ArgumentType
impl Send for ArgumentType
impl Sync for ArgumentType
impl Unpin for ArgumentType
impl UnsafeUnpin for ArgumentType
impl UnwindSafe for ArgumentType
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more