Struct sota::rvi::services::RemoteServices [] [src]

pub struct RemoteServices {
    pub device_id: String,
    pub rvi_client: Url,
    pub local: Option<LocalServices>,
    pub backend: Option<BackendServices>,
}

Fields

device_id
rvi_client
local
backend

Methods

impl RemoteServices
[src]

fn new(device_id: String, rvi_client: Url) -> RemoteServices

fn send_download_started(&self, update_id: UpdateRequestId) -> Result<String, String>

fn send_chunk_received(&self, chunk: ChunkReceived) -> Result<String, String>

fn send_update_report(&self, report: UpdateReport) -> Result<String, String>

fn send_installed_software(&self, installed: InstalledSoftware) -> Result<String, String>