pub enum ServiceWindowError {
EndMustFollowStart,
}Expand description
Validation errors for boarding arrival or departure windows.
Variants§
EndMustFollowStart
The end hour did not follow the start hour, so the window cannot be offered.
Trait Implementations§
Source§impl Clone for ServiceWindowError
impl Clone for ServiceWindowError
Source§fn clone(&self) -> ServiceWindowError
fn clone(&self) -> ServiceWindowError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ServiceWindowError
impl Debug for ServiceWindowError
Source§impl Display for ServiceWindowError
impl Display for ServiceWindowError
Source§impl Error for ServiceWindowError
impl Error for ServiceWindowError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for ServiceWindowError
impl PartialEq for ServiceWindowError
impl Copy for ServiceWindowError
impl Eq for ServiceWindowError
impl StructuralPartialEq for ServiceWindowError
Auto Trait Implementations§
impl Freeze for ServiceWindowError
impl RefUnwindSafe for ServiceWindowError
impl Send for ServiceWindowError
impl Sync for ServiceWindowError
impl Unpin for ServiceWindowError
impl UnsafeUnpin for ServiceWindowError
impl UnwindSafe for ServiceWindowError
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