Skip to main content

ArchivedIpcCommand

Enum ArchivedIpcCommand 

Source
#[repr(u8)]
pub enum ArchivedIpcCommand{
Show 24 variants IssueCreate { title: <String as Archive>::Archived, body: <String as Archive>::Archived, labels: <Vec<String> as Archive>::Archived, }, IssueList { state: <Option<String> as Archive>::Archived, label: <Option<String> as Archive>::Archived, }, IssueShow { issue_id: <String as Archive>::Archived, }, IssueUpdate { issue_id: <String as Archive>::Archived, title: <Option<String> as Archive>::Archived, body: <Option<String> as Archive>::Archived, }, IssueComment { issue_id: <String as Archive>::Archived, body: <String as Archive>::Archived, }, IssueLabel { issue_id: <String as Archive>::Archived, add: <Vec<String> as Archive>::Archived, remove: <Vec<String> as Archive>::Archived, }, IssueAssign { issue_id: <String as Archive>::Archived, add: <Vec<String> as Archive>::Archived, remove: <Vec<String> as Archive>::Archived, }, IssueClose { issue_id: <String as Archive>::Archived, }, IssueReopen { issue_id: <String as Archive>::Archived, }, IssueLink { issue_id: <String as Archive>::Archived, url: <String as Archive>::Archived, note: <Option<String> as Archive>::Archived, }, IssueAttach { issue_id: <String as Archive>::Archived, file_path: <String as Archive>::Archived, }, IssueDepAdd { issue_id: <String as Archive>::Archived, target_id: <String as Archive>::Archived, dep_type: <String as Archive>::Archived, }, IssueDepRemove { issue_id: <String as Archive>::Archived, target_id: <String as Archive>::Archived, dep_type: <String as Archive>::Archived, }, IssueDepList { issue_id: <String as Archive>::Archived, reverse: <bool as Archive>::Archived, }, IssueDepTopo { state: <Option<String> as Archive>::Archived, label: <Option<String> as Archive>::Archived, }, DbStats, Export { format: <String as Archive>::Archived, since: <Option<String> as Archive>::Archived, }, Rebuild, Sync { remote: <String as Archive>::Archived, pull: <bool as Archive>::Archived, push: <bool as Archive>::Archived, }, SnapshotCreate, SnapshotList, SnapshotGc { keep: <u32 as Archive>::Archived, }, DaemonStatus, DaemonStop,
}
Expand description

An archived IpcCommand

Variants§

§

IssueCreate

The archived counterpart of IpcCommand::IssueCreate

Fields

§title: <String as Archive>::Archived

The archived counterpart of IpcCommand::IssueCreate::title

§body: <String as Archive>::Archived

The archived counterpart of IpcCommand::IssueCreate::body

§labels: <Vec<String> as Archive>::Archived

The archived counterpart of IpcCommand::IssueCreate::labels

§

IssueList

The archived counterpart of IpcCommand::IssueList

Fields

§state: <Option<String> as Archive>::Archived

The archived counterpart of IpcCommand::IssueList::state

§label: <Option<String> as Archive>::Archived

The archived counterpart of IpcCommand::IssueList::label

§

IssueShow

The archived counterpart of IpcCommand::IssueShow

Fields

§issue_id: <String as Archive>::Archived

The archived counterpart of IpcCommand::IssueShow::issue_id

§

IssueUpdate

The archived counterpart of IpcCommand::IssueUpdate

Fields

§issue_id: <String as Archive>::Archived

The archived counterpart of IpcCommand::IssueUpdate::issue_id

§title: <Option<String> as Archive>::Archived

The archived counterpart of IpcCommand::IssueUpdate::title

§body: <Option<String> as Archive>::Archived

The archived counterpart of IpcCommand::IssueUpdate::body

§

IssueComment

The archived counterpart of IpcCommand::IssueComment

Fields

§issue_id: <String as Archive>::Archived

The archived counterpart of IpcCommand::IssueComment::issue_id

§body: <String as Archive>::Archived

The archived counterpart of IpcCommand::IssueComment::body

§

IssueLabel

The archived counterpart of IpcCommand::IssueLabel

Fields

§issue_id: <String as Archive>::Archived

The archived counterpart of IpcCommand::IssueLabel::issue_id

§add: <Vec<String> as Archive>::Archived

The archived counterpart of IpcCommand::IssueLabel::add

§remove: <Vec<String> as Archive>::Archived

The archived counterpart of IpcCommand::IssueLabel::remove

§

IssueAssign

The archived counterpart of IpcCommand::IssueAssign

Fields

§issue_id: <String as Archive>::Archived

The archived counterpart of IpcCommand::IssueAssign::issue_id

§add: <Vec<String> as Archive>::Archived

The archived counterpart of IpcCommand::IssueAssign::add

§remove: <Vec<String> as Archive>::Archived

The archived counterpart of IpcCommand::IssueAssign::remove

§

IssueClose

The archived counterpart of IpcCommand::IssueClose

Fields

§issue_id: <String as Archive>::Archived

The archived counterpart of IpcCommand::IssueClose::issue_id

§

IssueReopen

The archived counterpart of IpcCommand::IssueReopen

Fields

§issue_id: <String as Archive>::Archived

The archived counterpart of IpcCommand::IssueReopen::issue_id

The archived counterpart of IpcCommand::IssueLink

Fields

§issue_id: <String as Archive>::Archived

The archived counterpart of IpcCommand::IssueLink::issue_id

§url: <String as Archive>::Archived

The archived counterpart of IpcCommand::IssueLink::url

§note: <Option<String> as Archive>::Archived

The archived counterpart of IpcCommand::IssueLink::note

§

IssueAttach

The archived counterpart of IpcCommand::IssueAttach

Fields

§issue_id: <String as Archive>::Archived

The archived counterpart of IpcCommand::IssueAttach::issue_id

§file_path: <String as Archive>::Archived

The archived counterpart of IpcCommand::IssueAttach::file_path

§

IssueDepAdd

The archived counterpart of IpcCommand::IssueDepAdd

Fields

§issue_id: <String as Archive>::Archived

The archived counterpart of IpcCommand::IssueDepAdd::issue_id

§target_id: <String as Archive>::Archived

The archived counterpart of IpcCommand::IssueDepAdd::target_id

§dep_type: <String as Archive>::Archived

The archived counterpart of IpcCommand::IssueDepAdd::dep_type

§

IssueDepRemove

The archived counterpart of IpcCommand::IssueDepRemove

Fields

§issue_id: <String as Archive>::Archived

The archived counterpart of IpcCommand::IssueDepRemove::issue_id

§target_id: <String as Archive>::Archived

The archived counterpart of IpcCommand::IssueDepRemove::target_id

§dep_type: <String as Archive>::Archived

The archived counterpart of IpcCommand::IssueDepRemove::dep_type

§

IssueDepList

The archived counterpart of IpcCommand::IssueDepList

Fields

§issue_id: <String as Archive>::Archived

The archived counterpart of IpcCommand::IssueDepList::issue_id

§reverse: <bool as Archive>::Archived

The archived counterpart of IpcCommand::IssueDepList::reverse

§

IssueDepTopo

The archived counterpart of IpcCommand::IssueDepTopo

Fields

§state: <Option<String> as Archive>::Archived

The archived counterpart of IpcCommand::IssueDepTopo::state

§label: <Option<String> as Archive>::Archived

The archived counterpart of IpcCommand::IssueDepTopo::label

§

DbStats

The archived counterpart of IpcCommand::DbStats

§

Export

The archived counterpart of IpcCommand::Export

Fields

§format: <String as Archive>::Archived

The archived counterpart of IpcCommand::Export::format

§since: <Option<String> as Archive>::Archived

The archived counterpart of IpcCommand::Export::since

§

Rebuild

The archived counterpart of IpcCommand::Rebuild

§

Sync

The archived counterpart of IpcCommand::Sync

Fields

§remote: <String as Archive>::Archived

The archived counterpart of IpcCommand::Sync::remote

§pull: <bool as Archive>::Archived

The archived counterpart of IpcCommand::Sync::pull

§push: <bool as Archive>::Archived

The archived counterpart of IpcCommand::Sync::push

§

SnapshotCreate

The archived counterpart of IpcCommand::SnapshotCreate

§

SnapshotList

The archived counterpart of IpcCommand::SnapshotList

§

SnapshotGc

The archived counterpart of IpcCommand::SnapshotGc

Fields

§keep: <u32 as Archive>::Archived

The archived counterpart of IpcCommand::SnapshotGc::keep

§

DaemonStatus

The archived counterpart of IpcCommand::DaemonStatus

§

DaemonStop

The archived counterpart of IpcCommand::DaemonStop

Trait Implementations§

Source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedIpcCommand

Source§

unsafe fn check_bytes( value: *const Self, context: &mut __C, ) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the given context. Read more
Source§

impl Debug for ArchivedIpcCommand

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Portable for ArchivedIpcCommand

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> ArchivePointee for T

Source§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
Source§

fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> LayoutRaw for T

Source§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
Source§

impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
where T: SharedNiching<N1, N2>, N1: Niching<T>, N2: Niching<T>,

Source§

unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool

Returns whether the given value has been niched. Read more
Source§

fn resolve_niched(out: Place<NichedOption<T, N1>>)

Writes data to out indicating that a T is niched.
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> Pointee for T

Source§

type Metadata = ()

The metadata type for pointers and references to this type.
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V