pub enum RegistrationKind {
Server,
Client,
}Expand description
Which side of a socket one RegistrationFile describes.
The serving side owns the answer: a server root’s daemon publishes
Server, and a role workspace’s client daemon publishes
Client with its role. No reader infers the surface from
what happens to sit beside a tree — two v1 readers did, and disagreed.
Variants§
Trait Implementations§
Source§impl Clone for RegistrationKind
impl Clone for RegistrationKind
impl Copy for RegistrationKind
Source§impl Debug for RegistrationKind
impl Debug for RegistrationKind
Source§impl<'de> Deserialize<'de> for RegistrationKind
impl<'de> Deserialize<'de> for RegistrationKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for RegistrationKind
Source§impl PartialEq for RegistrationKind
impl PartialEq for RegistrationKind
Source§impl Serialize for RegistrationKind
impl Serialize for RegistrationKind
impl StructuralPartialEq for RegistrationKind
Auto Trait Implementations§
impl Freeze for RegistrationKind
impl RefUnwindSafe for RegistrationKind
impl Send for RegistrationKind
impl Sync for RegistrationKind
impl Unpin for RegistrationKind
impl UnsafeUnpin for RegistrationKind
impl UnwindSafe for RegistrationKind
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