pub enum RootEvent {
Ping {
response: TypedMethodResponse<()>,
},
Frame {
info: FrameInfo,
},
SaveState {
response: TypedMethodResponse<ClientState>,
},
}Variants§
Ping
Fields
§
response: TypedMethodResponse<()>Frame
SaveState
Fields
§
response: TypedMethodResponse<ClientState>Trait Implementations§
Source§impl EventParser for RootEvent
impl EventParser for RootEvent
const ASPECT_ID: u64 = 7_212_020_743_076_450_030u64
fn parse_signal( _client: &Arc<ClientHandle>, signal_id: u64, _data: &[u8], _fds: Vec<OwnedFd>, ) -> Result<Self, ScenegraphError>
fn parse_method( _client: &Arc<ClientHandle>, method_id: u64, _data: &[u8], _fds: Vec<OwnedFd>, response: MethodResponse, ) -> Result<Self, ScenegraphError>
Auto Trait Implementations§
impl Freeze for RootEvent
impl !RefUnwindSafe for RootEvent
impl Send for RootEvent
impl Sync for RootEvent
impl Unpin for RootEvent
impl !UnwindSafe for RootEvent
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