pub struct PlayerStreamHandler { /* private fields */ }Expand description
Object the server calls through PlayerStreamHandlerVTable. Layout: 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 PlayerStreamHandler
impl PlayerStreamHandler
Sourcepub fn new(vtable: *const PlayerStreamHandlerVTable) -> PlayerStreamHandler
pub fn new(vtable: *const PlayerStreamHandlerVTable) -> PlayerStreamHandler
Builds a handler backed by vtable.
Trait Implementations§
impl Send for PlayerStreamHandler
impl Sync for PlayerStreamHandler
Auto Trait Implementations§
impl Freeze for PlayerStreamHandler
impl RefUnwindSafe for PlayerStreamHandler
impl Unpin for PlayerStreamHandler
impl UnsafeUnpin for PlayerStreamHandler
impl UnwindSafe for PlayerStreamHandler
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