Enum LevelSide
pub enum LevelSide<'a> {
Server(&'a dyn LevelHost),
Client(&'a dyn LevelHost),
}Expand description
The logical side of a hook’s host.
Variants§
Server(&'a dyn LevelHost)
The hook fired on the server.
Client(&'a dyn LevelHost)
The hook fired on the client.
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for LevelSide<'a>
impl<'a> !Send for LevelSide<'a>
impl<'a> !Sync for LevelSide<'a>
impl<'a> !UnwindSafe for LevelSide<'a>
impl<'a> Freeze for LevelSide<'a>
impl<'a> Unpin for LevelSide<'a>
impl<'a> UnsafeUnpin for LevelSide<'a>
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