#[non_exhaustive]pub enum SteeringEvent {
Accepted(SteerAccepted),
Pending(SteerPending),
Failed(SteerFailed),
}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.
Trait Implementations§
Source§impl Clone for SteeringEvent
impl Clone for SteeringEvent
Source§impl Debug for SteeringEvent
impl Debug for SteeringEvent
Source§impl DeclaredFields for SteeringEvent
impl DeclaredFields for SteeringEvent
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for SteeringEvent
impl<'de> Deserialize<'de> for SteeringEvent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SteeringEvent
Source§impl PartialEq for SteeringEvent
impl PartialEq for SteeringEvent
Source§impl Serialize for SteeringEvent
impl Serialize for SteeringEvent
impl StructuralPartialEq for SteeringEvent
Auto Trait Implementations§
impl Freeze for SteeringEvent
impl RefUnwindSafe for SteeringEvent
impl Send for SteeringEvent
impl Sync for SteeringEvent
impl Unpin for SteeringEvent
impl UnsafeUnpin for SteeringEvent
impl UnwindSafe for SteeringEvent
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