Enum skylane::client::Task [] [src]

pub enum Task {
    Create {
        id: ObjectId,
        object: Box<Object>,
    },
    Destroy {
        id: ObjectId,
    },
    None,
}

Return enumeration for callbacks.

This enumeration will be removed. It proved it is insufficient on client side. Bundle should be used instead.

Variants

Requests creation of object.

Fields of Create

New object ID.

Object to be added.

Requests destruction of object.

Fields of Destroy

ID of object to be destroyed.

Requests nothing.