pub struct FlatlandControlHandle { /* private fields */ }Implementations§
Source§impl FlatlandControlHandle
impl FlatlandControlHandle
pub fn shutdown_with_epitaph(&self, status: impl Into<Epitaph>)
Source§impl FlatlandControlHandle
impl FlatlandControlHandle
pub fn send_on_next_frame_begin( &self, values: &OnNextFrameBeginValues, ) -> Result<(), Error>
pub fn send_on_frame_presented( &self, frame_presented_info: &FramePresentedInfo, ) -> Result<(), Error>
pub fn send_on_error(&self, error: FlatlandError) -> Result<(), Error>
Trait Implementations§
Source§impl Clone for FlatlandControlHandle
impl Clone for FlatlandControlHandle
Source§impl ControlHandle for FlatlandControlHandle
impl ControlHandle for FlatlandControlHandle
Source§fn shutdown(&self)
fn shutdown(&self)
Set the server to shutdown. The underlying channel is only closed the
next time the stream is polled.
Source§fn shutdown_with_epitaph(&self, status: Epitaph)
fn shutdown_with_epitaph(&self, status: Epitaph)
Sets the server to shutdown with an epitaph. The underlying channel is
only closed the next time the stream is polled.
Auto Trait Implementations§
impl !RefUnwindSafe for FlatlandControlHandle
impl !UnwindSafe for FlatlandControlHandle
impl Freeze for FlatlandControlHandle
impl Send for FlatlandControlHandle
impl Sync for FlatlandControlHandle
impl Unpin for FlatlandControlHandle
impl UnsafeUnpin for FlatlandControlHandle
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