pub enum BootstrapResult<BT: Bootstrap> {
Success(ServletMode<BT::AsyncServletType, BT::SyncServletType>),
Fail(),
}Expand description
The result of the bootstrap stage of the servlet
Variants§
Success(ServletMode<BT::AsyncServletType, BT::SyncServletType>)
The servlet has been bootstrapped successfully
Fail()
The servlet cannot be loaded
Auto Trait Implementations§
impl<BT> Freeze for BootstrapResult<BT>
impl<BT> RefUnwindSafe for BootstrapResult<BT>where
<BT as Bootstrap>::SyncServletType: RefUnwindSafe,
<BT as Bootstrap>::AsyncServletType: RefUnwindSafe,
impl<BT> Send for BootstrapResult<BT>
impl<BT> Sync for BootstrapResult<BT>
impl<BT> Unpin for BootstrapResult<BT>
impl<BT> UnwindSafe for BootstrapResult<BT>where
<BT as Bootstrap>::SyncServletType: UnwindSafe,
<BT as Bootstrap>::AsyncServletType: 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