pub enum Channel {
Main,
Display,
Cursor,
Inputs,
Record,
Playback,
}Expand description
A SPICE channel name used by tls-channel= and plaintext-channel=.
Variants§
Trait Implementations§
Source§impl Arbitrary for Channel
impl Arbitrary for Channel
Source§type Parameters = ()
type Parameters = ()
The type of parameters that
arbitrary_with accepts for configuration
of the generated Strategy. Parameters must implement Default.Source§type Strategy = TupleUnion<((u32, Arc<fn() -> Channel>), (u32, Arc<fn() -> Channel>), (u32, Arc<fn() -> Channel>), (u32, Arc<fn() -> Channel>), (u32, Arc<fn() -> Channel>), (u32, Arc<fn() -> Channel>))>
type Strategy = TupleUnion<((u32, Arc<fn() -> Channel>), (u32, Arc<fn() -> Channel>), (u32, Arc<fn() -> Channel>), (u32, Arc<fn() -> Channel>), (u32, Arc<fn() -> Channel>), (u32, Arc<fn() -> Channel>))>
The type of
Strategy used to generate values of type Self.Source§fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
Source§impl Ord for Channel
impl Ord for Channel
Source§impl PartialOrd for Channel
impl PartialOrd for Channel
impl Eq for Channel
impl StructuralPartialEq for Channel
Auto Trait Implementations§
impl Freeze for Channel
impl RefUnwindSafe for Channel
impl Send for Channel
impl Sync for Channel
impl Unpin for Channel
impl UnsafeUnpin for Channel
impl UnwindSafe for Channel
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