#[repr(u8)]pub enum DriverPackageType {
Boot = 0,
Base = 1,
Cached = 2,
Universe = 3,
UnknownOrdinal_(u8),
}
Expand description
The type of Fuchsia package that a driver component is inside of. More details about the various package categories are available at: https://fuchsia.dev/fuchsia-src/concepts/packages/package#types_of_packages
Variants§
Trait Implementations§
Source§impl Clone for DriverPackageType
impl Clone for DriverPackageType
Source§fn clone(&self) -> DriverPackageType
fn clone(&self) -> DriverPackageType
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DriverPackageType
impl Debug for DriverPackageType
Source§impl Encodable for DriverPackageType
impl Encodable for DriverPackageType
Source§type Encoded = WireDriverPackageType
type Encoded = WireDriverPackageType
The wire type for the value.
§const COPY_OPTIMIZATION: CopyOptimization<Self> = _
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
An optimization flag that allows the bytes of this type to be copied directly during
encoding instead of calling
encode
. Read moreSource§impl<___E> Encode<___E> for DriverPackageTypewhere
___E: ?Sized,
impl<___E> Encode<___E> for DriverPackageTypewhere
___E: ?Sized,
Source§impl From<DriverPackageType> for WireDriverPackageType
impl From<DriverPackageType> for WireDriverPackageType
Source§fn from(natural: DriverPackageType) -> Self
fn from(natural: DriverPackageType) -> Self
Converts to this type from the input type.
Source§impl From<WireDriverPackageType> for DriverPackageType
impl From<WireDriverPackageType> for DriverPackageType
Source§fn from(wire: WireDriverPackageType) -> Self
fn from(wire: WireDriverPackageType) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DriverPackageType
impl PartialEq for DriverPackageType
Source§impl TakeFrom<WireDriverPackageType> for DriverPackageType
impl TakeFrom<WireDriverPackageType> for DriverPackageType
Source§fn take_from(from: &WireDriverPackageType) -> Self
fn take_from(from: &WireDriverPackageType) -> Self
Converts from the given
T
, taking any resources that can’t be cloned.§const COPY_OPTIMIZATION: CopyOptimization<Self> = _
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
An optimization flag that allows the bytes of this type to be copied directly during
conversion instead of calling
take_from
. Read moreimpl Copy for DriverPackageType
impl Eq for DriverPackageType
impl StructuralPartialEq for DriverPackageType
Auto Trait Implementations§
impl Freeze for DriverPackageType
impl RefUnwindSafe for DriverPackageType
impl Send for DriverPackageType
impl Sync for DriverPackageType
impl Unpin for DriverPackageType
impl UnwindSafe for DriverPackageType
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