pub enum ServiceResult {
Stopped,
Stopping,
Starting,
AlreadyStarting,
AlreadyStopping,
AlreadyStarted,
AlreadyStopped,
NotKnown,
StartFailed,
InShutdown,
Unknown(u32),
}Expand description
Ответ ARM на просьбу запустить или остановить сервис.
Variants§
Stopped
Сервис остановлен.
Stopping
Сервис останавливается.
Starting
Сервис запускается.
AlreadyStarting
Сервис уже запускается.
AlreadyStopping
Сервис уже останавливается.
AlreadyStarted
Сервис уже запущен.
AlreadyStopped
Сервис уже остановлен.
NotKnown
ARM не знает сервиса с таким именем.
StartFailed
Сервис не удалось запустить.
InShutdown
ARM завершает работу и запросы не принимает.
Unknown(u32)
Значение, которого библиотека не знает.
Trait Implementations§
Source§impl Clone for ServiceResult
impl Clone for ServiceResult
Source§fn clone(&self) -> ServiceResult
fn clone(&self) -> ServiceResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ServiceResult
Source§impl Debug for ServiceResult
impl Debug for ServiceResult
impl Eq for ServiceResult
Source§impl PartialEq for ServiceResult
impl PartialEq for ServiceResult
impl StructuralPartialEq for ServiceResult
Auto Trait Implementations§
impl Freeze for ServiceResult
impl RefUnwindSafe for ServiceResult
impl Send for ServiceResult
impl Sync for ServiceResult
impl Unpin for ServiceResult
impl UnsafeUnpin for ServiceResult
impl UnwindSafe for ServiceResult
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