pub struct Principal<A: Area> { /* private fields */ }Expand description
Resolves only in A, so a handler cannot ask for another area’s principal.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<A> Freeze for Principal<A>
impl<A> RefUnwindSafe for Principal<A>
impl<A> Send for Principal<A>
impl<A> Sync for Principal<A>
impl<A> Unpin for Principal<A>
impl<A> UnsafeUnpin for Principal<A>
impl<A> UnwindSafe for Principal<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