pub enum RouteAction {
Start,
Stop,
Suspend,
Resume,
Restart,
Status,
}Expand description
Represents actions that can be performed on a route.
Variants§
Start
Start the route.
Stop
Stop the route.
Suspend
Suspend the route (pause without full shutdown).
Resume
Resume a suspended route.
Restart
Restart the route (stop then start).
Status
Get the current status of the route.
Trait Implementations§
Source§impl Clone for RouteAction
impl Clone for RouteAction
Source§fn clone(&self) -> RouteAction
fn clone(&self) -> RouteAction
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 moreAuto Trait Implementations§
impl Freeze for RouteAction
impl RefUnwindSafe for RouteAction
impl Send for RouteAction
impl Sync for RouteAction
impl Unpin for RouteAction
impl UnsafeUnpin for RouteAction
impl UnwindSafe for RouteAction
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