[−][src]Enum lib3h_protocol::protocol::ClientToLib3h
Enum holding the message types describe the lib3h protocol. There are 4 categories of messages:
- ClientToLib3h: A request or event sent from the user/client of lib3h (i.e. the Holochain node) to lib3h.
- ClientToLib3hResponse: A response to a ClientToLib3h. The name always matches what it's a response to. The response may have no data associated with it, in which case its use is in the Err
- Lib3hToClient: A request or event sent from lib3h its user/client.
- Lib3hToClientResponse: A response from the client back to lib3h. Fetch = Request between node and the network (other nodes) Get = Request within a node between p2p module and core
Variants
Bootstrap(BootstrapData)
create an explicit connection to a remote peer
JoinSpace(SpaceData)
Order the engine to be part of the network of the specified space.
LeaveSpace(SpaceData)
Order the engine to leave the network of the specified space.
SendDirectMessage(DirectMessageData)
Send a message directly to another agent on the network
FetchEntry(FetchEntryData)
Request an Entry from the dht network
PublishEntry(ProvidedEntryData)
Publish data to the dht (event)
QueryEntry(QueryEntryData)
Request some info / data from a Entry
Trait Implementations
impl Clone for ClientToLib3h
[src]
fn clone(&self) -> ClientToLib3h
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ClientToLib3h
[src]
impl<'de> Deserialize<'de> for ClientToLib3h
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl From<ClientToLib3h> for Lib3hClientProtocol
[src]
fn from(c: ClientToLib3h) -> Self
[src]
impl PartialEq<ClientToLib3h> for ClientToLib3h
[src]
fn eq(&self, other: &ClientToLib3h) -> bool
[src]
fn ne(&self, other: &ClientToLib3h) -> bool
[src]
impl Serialize for ClientToLib3h
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for ClientToLib3h
[src]
impl TryFrom<Lib3hClientProtocol> for ClientToLib3h
[src]
type Error = Lib3hProtocolError
The type returned in the event of a conversion error.
fn try_from(c: Lib3hClientProtocol) -> Result<Self, Self::Error>
[src]
Auto Trait Implementations
impl RefUnwindSafe for ClientToLib3h
impl Send for ClientToLib3h
impl Sync for ClientToLib3h
impl Unpin for ClientToLib3h
impl UnwindSafe for ClientToLib3h
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Clone for T where
T: Clone,
[src]
T: Clone,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,