pub struct ProtocolClient(/* private fields */);Implementations§
Methods from Deref<Target = ProtocolClientInner>§
pub async fn send_build_request( &self, req: BuildRequest, ) -> Result<Result<BuildResponse, Message>, AnyError>
pub async fn send_dispose_request(&self, key: u32) -> Result<(), AnyError>
pub async fn send_rebuild_request( &self, key: u32, ) -> Result<Result<RebuildResponse, Message>, AnyError>
pub async fn send_cancel_request(&self, key: u32) -> Result<(), AnyError>
Trait Implementations§
Source§impl Clone for ProtocolClient
impl Clone for ProtocolClient
Source§fn clone(&self) -> ProtocolClient
fn clone(&self) -> ProtocolClient
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 moreAuto Trait Implementations§
impl Freeze for ProtocolClient
impl !RefUnwindSafe for ProtocolClient
impl Send for ProtocolClient
impl Sync for ProtocolClient
impl Unpin for ProtocolClient
impl !UnwindSafe for ProtocolClient
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