pub enum ClientToBroker {
JobRequest(ClientJobId, JobSpec),
ArtifactTransferred(Sha256Digest, ArtifactUploadLocation),
}Expand description
Message sent from a client to the broker. After sending the initial Hello, a client will
send a stream of these messages.
Variants§
JobRequest(ClientJobId, JobSpec)
ArtifactTransferred(Sha256Digest, ArtifactUploadLocation)
Trait Implementations§
Source§impl Clone for ClientToBroker
impl Clone for ClientToBroker
Source§fn clone(&self) -> ClientToBroker
fn clone(&self) -> ClientToBroker
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ClientToBroker
impl Debug for ClientToBroker
Source§impl<'de> Deserialize<'de> for ClientToBroker
impl<'de> Deserialize<'de> for ClientToBroker
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
Source§impl PartialEq for ClientToBroker
impl PartialEq for ClientToBroker
Source§impl Serialize for ClientToBroker
impl Serialize for ClientToBroker
impl StructuralPartialEq for ClientToBroker
Auto Trait Implementations§
impl Freeze for ClientToBroker
impl RefUnwindSafe for ClientToBroker
impl Send for ClientToBroker
impl Sync for ClientToBroker
impl Unpin for ClientToBroker
impl UnwindSafe for ClientToBroker
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