pub enum DocsMessage {
Show 26 variants
Open(WithChannels<OpenRequest, DocsService>),
Close(WithChannels<CloseRequest, DocsService>),
Status(WithChannels<StatusRequest, DocsService>),
List(WithChannels<ListRequest, DocsService>),
Create(WithChannels<CreateRequest, DocsService>),
Drop(WithChannels<DropRequest, DocsService>),
Import(WithChannels<ImportRequest, DocsService>),
Set(WithChannels<SetRequest, DocsService>),
SetHash(WithChannels<SetHashRequest, DocsService>),
Get(WithChannels<GetManyRequest, DocsService>),
GetExact(WithChannels<GetExactRequest, DocsService>),
Del(WithChannels<DelRequest, DocsService>),
StartSync(WithChannels<StartSyncRequest, DocsService>),
Leave(WithChannels<LeaveRequest, DocsService>),
Share(WithChannels<ShareRequest, DocsService>),
Subscribe(WithChannels<SubscribeRequest, DocsService>),
GetDownloadPolicy(WithChannels<GetDownloadPolicyRequest, DocsService>),
SetDownloadPolicy(WithChannels<SetDownloadPolicyRequest, DocsService>),
GetSyncPeers(WithChannels<GetSyncPeersRequest, DocsService>),
AuthorList(WithChannels<AuthorListRequest, DocsService>),
AuthorCreate(WithChannels<AuthorCreateRequest, DocsService>),
AuthorGetDefault(WithChannels<AuthorGetDefaultRequest, DocsService>),
AuthorSetDefault(WithChannels<AuthorSetDefaultRequest, DocsService>),
AuthorImport(WithChannels<AuthorImportRequest, DocsService>),
AuthorExport(WithChannels<AuthorExportRequest, DocsService>),
AuthorDelete(WithChannels<AuthorDeleteRequest, DocsService>),
}
Variants§
Open(WithChannels<OpenRequest, DocsService>)
Close(WithChannels<CloseRequest, DocsService>)
Status(WithChannels<StatusRequest, DocsService>)
List(WithChannels<ListRequest, DocsService>)
Create(WithChannels<CreateRequest, DocsService>)
Drop(WithChannels<DropRequest, DocsService>)
Import(WithChannels<ImportRequest, DocsService>)
Set(WithChannels<SetRequest, DocsService>)
SetHash(WithChannels<SetHashRequest, DocsService>)
Get(WithChannels<GetManyRequest, DocsService>)
GetExact(WithChannels<GetExactRequest, DocsService>)
Del(WithChannels<DelRequest, DocsService>)
StartSync(WithChannels<StartSyncRequest, DocsService>)
Leave(WithChannels<LeaveRequest, DocsService>)
Subscribe(WithChannels<SubscribeRequest, DocsService>)
GetDownloadPolicy(WithChannels<GetDownloadPolicyRequest, DocsService>)
SetDownloadPolicy(WithChannels<SetDownloadPolicyRequest, DocsService>)
GetSyncPeers(WithChannels<GetSyncPeersRequest, DocsService>)
AuthorList(WithChannels<AuthorListRequest, DocsService>)
AuthorCreate(WithChannels<AuthorCreateRequest, DocsService>)
AuthorGetDefault(WithChannels<AuthorGetDefaultRequest, DocsService>)
AuthorSetDefault(WithChannels<AuthorSetDefaultRequest, DocsService>)
AuthorImport(WithChannels<AuthorImportRequest, DocsService>)
AuthorExport(WithChannels<AuthorExportRequest, DocsService>)
AuthorDelete(WithChannels<AuthorDeleteRequest, DocsService>)
Implementations§
Source§impl DocsMessage
impl DocsMessage
Sourcepub fn parent_span(&self) -> Span
pub fn parent_span(&self) -> Span
Get the parent span of the message
Trait Implementations§
Source§impl Debug for DocsMessage
impl Debug for DocsMessage
Source§impl From<WithChannels<AuthorCreateRequest, DocsService>> for DocsMessage
impl From<WithChannels<AuthorCreateRequest, DocsService>> for DocsMessage
Source§fn from(value: WithChannels<AuthorCreateRequest, DocsService>) -> Self
fn from(value: WithChannels<AuthorCreateRequest, DocsService>) -> Self
Converts to this type from the input type.
Source§impl From<WithChannels<AuthorDeleteRequest, DocsService>> for DocsMessage
impl From<WithChannels<AuthorDeleteRequest, DocsService>> for DocsMessage
Source§fn from(value: WithChannels<AuthorDeleteRequest, DocsService>) -> Self
fn from(value: WithChannels<AuthorDeleteRequest, DocsService>) -> Self
Converts to this type from the input type.
Source§impl From<WithChannels<AuthorExportRequest, DocsService>> for DocsMessage
impl From<WithChannels<AuthorExportRequest, DocsService>> for DocsMessage
Source§fn from(value: WithChannels<AuthorExportRequest, DocsService>) -> Self
fn from(value: WithChannels<AuthorExportRequest, DocsService>) -> Self
Converts to this type from the input type.
Source§impl From<WithChannels<AuthorGetDefaultRequest, DocsService>> for DocsMessage
impl From<WithChannels<AuthorGetDefaultRequest, DocsService>> for DocsMessage
Source§fn from(value: WithChannels<AuthorGetDefaultRequest, DocsService>) -> Self
fn from(value: WithChannels<AuthorGetDefaultRequest, DocsService>) -> Self
Converts to this type from the input type.
Source§impl From<WithChannels<AuthorImportRequest, DocsService>> for DocsMessage
impl From<WithChannels<AuthorImportRequest, DocsService>> for DocsMessage
Source§fn from(value: WithChannels<AuthorImportRequest, DocsService>) -> Self
fn from(value: WithChannels<AuthorImportRequest, DocsService>) -> Self
Converts to this type from the input type.
Source§impl From<WithChannels<AuthorListRequest, DocsService>> for DocsMessage
impl From<WithChannels<AuthorListRequest, DocsService>> for DocsMessage
Source§fn from(value: WithChannels<AuthorListRequest, DocsService>) -> Self
fn from(value: WithChannels<AuthorListRequest, DocsService>) -> Self
Converts to this type from the input type.
Source§impl From<WithChannels<AuthorSetDefaultRequest, DocsService>> for DocsMessage
impl From<WithChannels<AuthorSetDefaultRequest, DocsService>> for DocsMessage
Source§fn from(value: WithChannels<AuthorSetDefaultRequest, DocsService>) -> Self
fn from(value: WithChannels<AuthorSetDefaultRequest, DocsService>) -> Self
Converts to this type from the input type.
Source§impl From<WithChannels<CloseRequest, DocsService>> for DocsMessage
impl From<WithChannels<CloseRequest, DocsService>> for DocsMessage
Source§fn from(value: WithChannels<CloseRequest, DocsService>) -> Self
fn from(value: WithChannels<CloseRequest, DocsService>) -> Self
Converts to this type from the input type.
Source§impl From<WithChannels<CreateRequest, DocsService>> for DocsMessage
impl From<WithChannels<CreateRequest, DocsService>> for DocsMessage
Source§fn from(value: WithChannels<CreateRequest, DocsService>) -> Self
fn from(value: WithChannels<CreateRequest, DocsService>) -> Self
Converts to this type from the input type.
Source§impl From<WithChannels<DelRequest, DocsService>> for DocsMessage
impl From<WithChannels<DelRequest, DocsService>> for DocsMessage
Source§fn from(value: WithChannels<DelRequest, DocsService>) -> Self
fn from(value: WithChannels<DelRequest, DocsService>) -> Self
Converts to this type from the input type.
Source§impl From<WithChannels<DropRequest, DocsService>> for DocsMessage
impl From<WithChannels<DropRequest, DocsService>> for DocsMessage
Source§fn from(value: WithChannels<DropRequest, DocsService>) -> Self
fn from(value: WithChannels<DropRequest, DocsService>) -> Self
Converts to this type from the input type.
Source§impl From<WithChannels<GetDownloadPolicyRequest, DocsService>> for DocsMessage
impl From<WithChannels<GetDownloadPolicyRequest, DocsService>> for DocsMessage
Source§fn from(value: WithChannels<GetDownloadPolicyRequest, DocsService>) -> Self
fn from(value: WithChannels<GetDownloadPolicyRequest, DocsService>) -> Self
Converts to this type from the input type.
Source§impl From<WithChannels<GetExactRequest, DocsService>> for DocsMessage
impl From<WithChannels<GetExactRequest, DocsService>> for DocsMessage
Source§fn from(value: WithChannels<GetExactRequest, DocsService>) -> Self
fn from(value: WithChannels<GetExactRequest, DocsService>) -> Self
Converts to this type from the input type.
Source§impl From<WithChannels<GetManyRequest, DocsService>> for DocsMessage
impl From<WithChannels<GetManyRequest, DocsService>> for DocsMessage
Source§fn from(value: WithChannels<GetManyRequest, DocsService>) -> Self
fn from(value: WithChannels<GetManyRequest, DocsService>) -> Self
Converts to this type from the input type.
Source§impl From<WithChannels<GetSyncPeersRequest, DocsService>> for DocsMessage
impl From<WithChannels<GetSyncPeersRequest, DocsService>> for DocsMessage
Source§fn from(value: WithChannels<GetSyncPeersRequest, DocsService>) -> Self
fn from(value: WithChannels<GetSyncPeersRequest, DocsService>) -> Self
Converts to this type from the input type.
Source§impl From<WithChannels<ImportRequest, DocsService>> for DocsMessage
impl From<WithChannels<ImportRequest, DocsService>> for DocsMessage
Source§fn from(value: WithChannels<ImportRequest, DocsService>) -> Self
fn from(value: WithChannels<ImportRequest, DocsService>) -> Self
Converts to this type from the input type.
Source§impl From<WithChannels<LeaveRequest, DocsService>> for DocsMessage
impl From<WithChannels<LeaveRequest, DocsService>> for DocsMessage
Source§fn from(value: WithChannels<LeaveRequest, DocsService>) -> Self
fn from(value: WithChannels<LeaveRequest, DocsService>) -> Self
Converts to this type from the input type.
Source§impl From<WithChannels<ListRequest, DocsService>> for DocsMessage
impl From<WithChannels<ListRequest, DocsService>> for DocsMessage
Source§fn from(value: WithChannels<ListRequest, DocsService>) -> Self
fn from(value: WithChannels<ListRequest, DocsService>) -> Self
Converts to this type from the input type.
Source§impl From<WithChannels<OpenRequest, DocsService>> for DocsMessage
impl From<WithChannels<OpenRequest, DocsService>> for DocsMessage
Source§fn from(value: WithChannels<OpenRequest, DocsService>) -> Self
fn from(value: WithChannels<OpenRequest, DocsService>) -> Self
Converts to this type from the input type.
Source§impl From<WithChannels<SetDownloadPolicyRequest, DocsService>> for DocsMessage
impl From<WithChannels<SetDownloadPolicyRequest, DocsService>> for DocsMessage
Source§fn from(value: WithChannels<SetDownloadPolicyRequest, DocsService>) -> Self
fn from(value: WithChannels<SetDownloadPolicyRequest, DocsService>) -> Self
Converts to this type from the input type.
Source§impl From<WithChannels<SetHashRequest, DocsService>> for DocsMessage
impl From<WithChannels<SetHashRequest, DocsService>> for DocsMessage
Source§fn from(value: WithChannels<SetHashRequest, DocsService>) -> Self
fn from(value: WithChannels<SetHashRequest, DocsService>) -> Self
Converts to this type from the input type.
Source§impl From<WithChannels<SetRequest, DocsService>> for DocsMessage
impl From<WithChannels<SetRequest, DocsService>> for DocsMessage
Source§fn from(value: WithChannels<SetRequest, DocsService>) -> Self
fn from(value: WithChannels<SetRequest, DocsService>) -> Self
Converts to this type from the input type.
Source§fn from(value: WithChannels<ShareRequest, DocsService>) -> Self
fn from(value: WithChannels<ShareRequest, DocsService>) -> Self
Converts to this type from the input type.
Source§impl From<WithChannels<StartSyncRequest, DocsService>> for DocsMessage
impl From<WithChannels<StartSyncRequest, DocsService>> for DocsMessage
Source§fn from(value: WithChannels<StartSyncRequest, DocsService>) -> Self
fn from(value: WithChannels<StartSyncRequest, DocsService>) -> Self
Converts to this type from the input type.
Source§impl From<WithChannels<StatusRequest, DocsService>> for DocsMessage
impl From<WithChannels<StatusRequest, DocsService>> for DocsMessage
Source§fn from(value: WithChannels<StatusRequest, DocsService>) -> Self
fn from(value: WithChannels<StatusRequest, DocsService>) -> Self
Converts to this type from the input type.
Source§impl From<WithChannels<SubscribeRequest, DocsService>> for DocsMessage
impl From<WithChannels<SubscribeRequest, DocsService>> for DocsMessage
Source§fn from(value: WithChannels<SubscribeRequest, DocsService>) -> Self
fn from(value: WithChannels<SubscribeRequest, DocsService>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for DocsMessage
impl !RefUnwindSafe for DocsMessage
impl Send for DocsMessage
impl Sync for DocsMessage
impl Unpin for DocsMessage
impl !UnwindSafe for DocsMessage
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