pub enum PssState<T> {
Some(T),
None,
Never,
}
Expand description
The page state of a PSS entry. This is used to determine whether or not we need to request data from the server.
Variants§
Some(T)
There is state.
None
There is no state, but there could be some in future.
Never
There is no state, and there never will be any (i.e. this page does not use state).
Trait Implementations§
Auto Trait Implementations§
impl<T> RefUnwindSafe for PssState<T>where T: RefUnwindSafe,
impl<T> Send for PssState<T>where T: Send,
impl<T> Sync for PssState<T>where T: Sync,
impl<T> Unpin for PssState<T>where T: Unpin,
impl<T> UnwindSafe for PssState<T>where T: 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