#[repr(u8)]pub enum Class {
Generic = 1,
BluetoothHci = 2,
Console = 3,
KernelDebug = 4,
Mcu = 5,
}Expand description
Description of what type of serial device this is TODO(https://fxbug.dev/393643944): Consider replacing this enum.
Variants§
Trait Implementations§
impl Copy for Class
Source§impl<___E> Encode<Class, ___E> for Classwhere
___E: ?Sized,
impl<___E> Encode<Class, ___E> for Classwhere
___E: ?Sized,
Source§impl<'a, ___E> Encode<Class, ___E> for &'a Classwhere
___E: ?Sized,
impl<'a, ___E> Encode<Class, ___E> for &'a Classwhere
___E: ?Sized,
impl Eq for Class
Source§impl FromWireRef<Class> for Class
impl FromWireRef<Class> for Class
Source§fn from_wire_ref(wire: &Class) -> Self
fn from_wire_ref(wire: &Class) -> Self
Converts the given reference to this type.
Source§impl Ord for Class
impl Ord for Class
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for Class
impl PartialOrd for Class
impl StructuralPartialEq for Class
Auto Trait Implementations§
impl Freeze for Class
impl RefUnwindSafe for Class
impl Send for Class
impl Sync for Class
impl Unpin for Class
impl UnsafeUnpin for Class
impl UnwindSafe for Class
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T, W> FromWireOption<Box<'_, W>> for Twhere
T: FromWire<W>,
impl<T, W> FromWireOption<Box<'_, W>> for Twhere
T: FromWire<W>,
§fn from_wire_option(wire: Box<'_, W>) -> Option<T>
fn from_wire_option(wire: Box<'_, W>) -> Option<T>
Converts the given owned value to an option of this type.
§impl<T, W> FromWireOptionRef<Box<'_, W>> for Twhere
T: FromWireRef<W>,
impl<T, W> FromWireOptionRef<Box<'_, W>> for Twhere
T: FromWireRef<W>,
§fn from_wire_option_ref(wire: &Box<'_, W>) -> Option<T>
fn from_wire_option_ref(wire: &Box<'_, W>) -> Option<T>
Converts the given reference to an option of this type.
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to [Self]