pub struct BeforeAppEntry {
pub sequence: u32,
pub optional_service: Option<&'static str>,
pub factory: fn() -> Arc<dyn EntryPoint>,
}Expand description
A #[before_application]-annotated entry point (Java @BeforeApplication).
Fields§
§sequence: u32§optional_service: Option<&'static str>Java @OptionalService condition; None = always run.
factory: fn() -> Arc<dyn EntryPoint>Trait Implementations§
impl Collect for BeforeAppEntry
Auto Trait Implementations§
impl Freeze for BeforeAppEntry
impl RefUnwindSafe for BeforeAppEntry
impl Send for BeforeAppEntry
impl Sync for BeforeAppEntry
impl Unpin for BeforeAppEntry
impl UnsafeUnpin for BeforeAppEntry
impl UnwindSafe for BeforeAppEntry
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