pub enum NestedLiveViewState {
Mounted,
Suspended,
Terminated,
}Expand description
Runtime lifecycle state for one nested LiveView.
Variants§
Mounted
Child is mounted and accepts scoped events.
Suspended
Child keeps server state but does not accept browser events.
Terminated
Child has terminated and no longer accepts events or renders.
Trait Implementations§
Source§impl Clone for NestedLiveViewState
impl Clone for NestedLiveViewState
Source§fn clone(&self) -> NestedLiveViewState
fn clone(&self) -> NestedLiveViewState
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 moreSource§impl Debug for NestedLiveViewState
impl Debug for NestedLiveViewState
Source§impl PartialEq for NestedLiveViewState
impl PartialEq for NestedLiveViewState
Source§fn eq(&self, other: &NestedLiveViewState) -> bool
fn eq(&self, other: &NestedLiveViewState) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for NestedLiveViewState
impl Eq for NestedLiveViewState
impl StructuralPartialEq for NestedLiveViewState
Auto Trait Implementations§
impl Freeze for NestedLiveViewState
impl RefUnwindSafe for NestedLiveViewState
impl Send for NestedLiveViewState
impl Sync for NestedLiveViewState
impl Unpin for NestedLiveViewState
impl UnsafeUnpin for NestedLiveViewState
impl UnwindSafe for NestedLiveViewState
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