blob: a357d8e0a7fae7174411182b8093cfd25f4549f1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
use std::sync::Arc;
use cid::Cid;
use distrox_lib::profile::Profile;
use distrox_lib::types::Payload;
#[derive(Debug, Clone)]
pub enum Message {
Loaded(Arc<Profile>),
FailedToLoad,
InputChanged(String),
CreatePost,
PostCreated(Cid),
PostCreationFailed(String),
PostLoaded((Payload, String)),
PostLoadingFailed,
TimelineScrolled(f32),
}
|