pub enum PatchDirection {
DecreaseOnError,
IncreaseOnError,
}Available on crate feature
std only.Expand description
Direction in which a policy parameter changes in response to error.
Variants§
DecreaseOnError
Move the parameter downward when prediction error calls for a patch.
IncreaseOnError
Move the parameter upward when prediction error calls for a patch.
Trait Implementations§
Source§impl Clone for PatchDirection
impl Clone for PatchDirection
impl Copy for PatchDirection
Source§impl Debug for PatchDirection
impl Debug for PatchDirection
Source§impl<'de> Deserialize<'de> for PatchDirection
impl<'de> Deserialize<'de> for PatchDirection
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 PatchDirection
Source§impl PartialEq for PatchDirection
impl PartialEq for PatchDirection
Source§impl Serialize for PatchDirection
impl Serialize for PatchDirection
impl StructuralPartialEq for PatchDirection
Auto Trait Implementations§
impl Forget for PatchDirection
impl Freeze for PatchDirection
impl Move for PatchDirection
impl RefUnwindSafe for PatchDirection
impl Send for PatchDirection
impl Sync for PatchDirection
impl Unpin for PatchDirection
impl UnsafeUnpin for PatchDirection
impl UnwindSafe for PatchDirection
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