pub enum ToWrite {
Publish(Path),
PublishDefault(Path),
Unpublish(Path),
Clear,
Heartbeat,
PublishWithFlags(Path, u32),
PublishDefaultWithFlags(Path, u32),
UnpublishDefault(Path),
}
Variants§
Publish(Path)
Publish the path
PublishDefault(Path)
Add a default publisher to path
Unpublish(Path)
Stop publishing the path
Clear
Clear all values you’ve published
Heartbeat
Tell the resolver that we are still alive
PublishWithFlags(Path, u32)
Publish the path and set associated flags
PublishDefaultWithFlags(Path, u32)
Add a default publisher to path and set associated flags
UnpublishDefault(Path)
Unpublish a default publisher
Trait Implementations§
Source§impl Pack for ToWrite
impl Pack for ToWrite
fn encoded_len(&self) -> usize
fn encode(&self, buf: &mut impl BufMut) -> Result<(), PackError>
fn decode(buf: &mut impl Buf) -> Result<Self, PackError>
fn const_encoded_len() -> Option<usize>
fn decode_into(&mut self, buf: &mut impl Buf) -> Result<(), PackError>where
Self: Sized,
impl Eq for ToWrite
impl StructuralPartialEq for ToWrite
Auto Trait Implementations§
impl Freeze for ToWrite
impl RefUnwindSafe for ToWrite
impl Send for ToWrite
impl Sync for ToWrite
impl Unpin for ToWrite
impl UnwindSafe for ToWrite
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.