pub enum TicTacToeRequest {
StartGame {
start_first: bool,
control_handle: TicTacToeControlHandle,
},
MakeMove {
row: u8,
col: u8,
responder: TicTacToeMakeMoveResponder,
},
}
Variants§
Implementations§
Source§impl TicTacToeRequest
impl TicTacToeRequest
pub fn into_start_game(self) -> Option<(bool, TicTacToeControlHandle)>
pub fn into_make_move(self) -> Option<(u8, u8, TicTacToeMakeMoveResponder)>
Sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TicTacToeRequest
impl !RefUnwindSafe for TicTacToeRequest
impl Send for TicTacToeRequest
impl Sync for TicTacToeRequest
impl Unpin for TicTacToeRequest
impl !UnwindSafe for TicTacToeRequest
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