pub enum ProtocolEffect {
PublishSigned(Event),
PublishSignedForInnerEvent {
event: Event,
inner_event_id: Option<String>,
target_owner_pubkey_hex: Option<String>,
target_device_id: Option<String>,
},
PublishStagedFirstContact {
bootstrap: Vec<ProtocolPublishEvent>,
payload: Vec<ProtocolPublishEvent>,
},
FetchProtocolState {
filters: Vec<Filter>,
reason: &'static str,
},
}Variants§
Trait Implementations§
Source§impl Clone for ProtocolEffect
impl Clone for ProtocolEffect
Source§fn clone(&self) -> ProtocolEffect
fn clone(&self) -> ProtocolEffect
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 moreAuto Trait Implementations§
impl !Freeze for ProtocolEffect
impl RefUnwindSafe for ProtocolEffect
impl Send for ProtocolEffect
impl Sync for ProtocolEffect
impl Unpin for ProtocolEffect
impl UnsafeUnpin for ProtocolEffect
impl UnwindSafe for ProtocolEffect
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