pub struct DeviceActorHandler {
pub sender: Sender<DeviceActorRequest>,
}Fields§
§sender: Sender<DeviceActorRequest>Implementations§
Source§impl DeviceActorHandler
impl DeviceActorHandler
pub async fn send( &self, device_request: PingRequest, ) -> Result<PingAnswer, DeviceError>
Trait Implementations§
Source§impl Clone for DeviceActorHandler
impl Clone for DeviceActorHandler
Source§fn clone(&self) -> DeviceActorHandler
fn clone(&self) -> DeviceActorHandler
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 DeviceActorHandler
impl RefUnwindSafe for DeviceActorHandler
impl Send for DeviceActorHandler
impl Sync for DeviceActorHandler
impl Unpin for DeviceActorHandler
impl UnwindSafe for DeviceActorHandler
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