pub struct ActorHandler { /* private fields */ }Expand description
Object the server calls through ActorHandlerVTable: the vtable pointer at offset 0, like any C++ object with virtuals.
The server keeps the pointer, so it must outlive the registration.
Implementations§
Source§impl ActorHandler
impl ActorHandler
Sourcepub const fn new(vtable: *const ActorHandlerVTable) -> ActorHandler
pub const fn new(vtable: *const ActorHandlerVTable) -> ActorHandler
Builds a handler backed by vtable.
Trait Implementations§
impl Send for ActorHandler
impl Sync for ActorHandler
Auto Trait Implementations§
impl Freeze for ActorHandler
impl RefUnwindSafe for ActorHandler
impl Unpin for ActorHandler
impl UnsafeUnpin for ActorHandler
impl UnwindSafe for ActorHandler
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