#[repr(u8)]pub enum Performative {
Show 17 variants
Request = 1,
Inform = 2,
Query = 3,
Propose = 4,
Accept = 5,
Reject = 6,
Cancel = 7,
Progress = 8,
InputRequired = 9,
Failure = 10,
Delegate = 11,
Error = 12,
Hello = 13,
Bye = 14,
Retract = 15,
Subscribe = 16,
Unsubscribe = 17,
}Expand description
Speech acts (spec §5). Wire representation: u8 discriminant.
Variants§
Request = 1
Inform = 2
Query = 3
Propose = 4
Accept = 5
Reject = 6
Cancel = 7
Progress = 8
InputRequired = 9
Failure = 10
Delegate = 11
Error = 12
Hello = 13
Bye = 14
Retract = 15
§32: retract a prior inform/fact (belief revision)
Subscribe = 16
§32: ongoing interest in a predicate (push instead of poll)
Unsubscribe = 17
§32: cancel a prior subscription
Trait Implementations§
Source§impl Clone for Performative
impl Clone for Performative
Source§fn clone(&self) -> Performative
fn clone(&self) -> Performative
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Performative
Source§impl Debug for Performative
impl Debug for Performative
Source§impl<'de> Deserialize<'de> for Performative
impl<'de> Deserialize<'de> for Performative
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Performative
Source§impl Hash for Performative
impl Hash for Performative
Source§impl PartialEq for Performative
impl PartialEq for Performative
Source§impl Serialize for Performative
impl Serialize for Performative
impl StructuralPartialEq for Performative
Auto Trait Implementations§
impl Freeze for Performative
impl RefUnwindSafe for Performative
impl Send for Performative
impl Sync for Performative
impl Unpin for Performative
impl UnsafeUnpin for Performative
impl UnwindSafe for Performative
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