#[repr(u8)]pub enum SlotSource {
Server = 0,
Client = 1,
}Expand description
Where the slot value originates at runtime.
Variants§
Server = 0
Filled by the page handler before the walk. Still Null at render
time means the handler probably has a bug, and the walker warns.
Client = 1
Owned by the client runtime; the slot table’s default is what SSR renders.
Implementations§
Trait Implementations§
Source§impl Clone for SlotSource
impl Clone for SlotSource
impl Copy for SlotSource
Source§impl Debug for SlotSource
impl Debug for SlotSource
impl Eq for SlotSource
Source§impl PartialEq for SlotSource
impl PartialEq for SlotSource
impl StructuralPartialEq for SlotSource
Auto Trait Implementations§
impl Freeze for SlotSource
impl RefUnwindSafe for SlotSource
impl Send for SlotSource
impl Sync for SlotSource
impl Unpin for SlotSource
impl UnsafeUnpin for SlotSource
impl UnwindSafe for SlotSource
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