pub trait UserMessageExt: 'static {
    fn fd_list(&self) -> Option<UnixFDList>;
    fn name(&self) -> Option<GString>;
    fn parameters(&self) -> Option<Variant>;
    fn send_reply(&self, reply: &impl IsA<UserMessage>);
}
Available on crate feature v2_28 only.
Expand description

Trait containing all UserMessage methods.

Implementors

UserMessage

Required Methods

Get the self list of file descritpor.

Returns

the message list of file descriptors

Get the self name.

Returns

the message name

Get the self parameters.

Returns

the message parameters

Send a reply to an user message.

If reply is floating, it’s consumed. You can only send a reply to a UserMessage that has been received.

reply

a UserMessage to send as reply

Implementors