pub enum ResetType {
Hard,
Soft,
}
Expand description
Type of reset requested by ResetRequest
Variants§
Hard
Restart (all) the hardware, the Charge Point is not required to gracefully stop ongoing transaction. If possible the Charge Point sends a StopTransaction.req for previously ongoing transactions after having restarted and having been accepted by the Central System via a BootNotification.conf. This is a last resort solution for a not correctly functioning Charge Point, by sending a “hard” reset, (queued) information might get lost.
Soft
Stop ongoing transactions gracefully and sending StopTransaction.req for every ongoing transaction. It should then restart the application software (if possible, otherwise restart the processor/controller).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ResetType
impl<'de> Deserialize<'de> for ResetType
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 StructuralPartialEq for ResetType
Auto Trait Implementations§
impl Freeze for ResetType
impl RefUnwindSafe for ResetType
impl Send for ResetType
impl Sync for ResetType
impl Unpin for ResetType
impl UnwindSafe for ResetType
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