Enum lunatic_twitchax_patch::ap::StartupError
source · pub enum StartupError<AP: AbstractProcess> {
InitPanicked,
NameAlreadyRegistered(ProcessRef<AP>),
TimedOut,
Custom(AP::StartupError),
}Expand description
Result of AbstractProcess::start.
Variants§
InitPanicked
The init function of the AbstractProcess panicked.
NameAlreadyRegistered(ProcessRef<AP>)
The name supplied to start_as is already registered.
TimedOut
A timeout.
Custom(AP::StartupError)
A custom error.
Trait Implementations§
source§impl<AP: AbstractProcess> Clone for StartupError<AP>where
AP::StartupError: Clone,
impl<AP: AbstractProcess> Clone for StartupError<AP>where
AP::StartupError: Clone,
source§impl<AP: AbstractProcess> Debug for StartupError<AP>where
AP::StartupError: Debug,
impl<AP: AbstractProcess> Debug for StartupError<AP>where
AP::StartupError: Debug,
source§impl<'de, AP: AbstractProcess> Deserialize<'de> for StartupError<AP>where
AP::StartupError: Deserialize<'de>,
impl<'de, AP: AbstractProcess> Deserialize<'de> for StartupError<AP>where
AP::StartupError: Deserialize<'de>,
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
source§impl<AP: AbstractProcess> PartialEq for StartupError<AP>where
AP::StartupError: PartialEq,
impl<AP: AbstractProcess> PartialEq for StartupError<AP>where
AP::StartupError: PartialEq,
source§impl<AP: AbstractProcess> Serialize for StartupError<AP>where
AP::StartupError: Serialize,
impl<AP: AbstractProcess> Serialize for StartupError<AP>where
AP::StartupError: Serialize,
impl<AP: AbstractProcess> Eq for StartupError<AP>where
AP::StartupError: Eq,
Auto Trait Implementations§
impl<AP> RefUnwindSafe for StartupError<AP>where
<AP as AbstractProcess>::Serializer: RefUnwindSafe,
<AP as AbstractProcess>::StartupError: RefUnwindSafe,
impl<AP> Send for StartupError<AP>
impl<AP> Sync for StartupError<AP>
impl<AP> Unpin for StartupError<AP>
impl<AP> UnwindSafe for StartupError<AP>where
<AP as AbstractProcess>::Serializer: UnwindSafe,
<AP as AbstractProcess>::StartupError: UnwindSafe,
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