Enum muzzman_daemon::packets::ClientPackets
source · pub enum ClientPackets {
Show 82 variants
LoadModule(u128, Result<ModuleId, SessionError>),
RemoveModule(u128, Result<(), SessionError>),
GetActionsLen(u128, Result<usize, SessionError>),
GetActions(u128, Result<Actions, SessionError>),
RunAction(u128, Result<(), SessionError>),
GetModulesLen(u128, Result<usize, SessionError>),
GetModules(u128, Result<Vec<ModuleId>, SessionError>),
ModuleGetName(u128, Result<String, SessionError>),
ModuleSetName(u128, Result<(), SessionError>),
ModuleGetDefaultName(u128, Result<String, SessionError>),
ModuleGetDesc(u128, Result<String, SessionError>),
ModuleSetDesc(u128, Result<(), SessionError>),
ModuleGetDefaultDesc(u128, Result<String, SessionError>),
ModuleGetProxy(u128, Result<usize, SessionError>),
ModuleSetProxy(u128, Result<(), SessionError>),
ModuleGetSettings(u128, Box<Result<Data, SessionError>>),
ModuleSetSettings(u128, Result<(), SessionError>),
ModuleGetElementSettings(u128, Result<Data, SessionError>),
ModuleSetElementSettings(u128, Result<(), SessionError>),
ModuleInitLocation(u128, Result<(), SessionError>),
ModuleInitElement(u128, Result<(), SessionError>),
ModuleAcceptUrl(u128, Result<bool, SessionError>),
ModuleAcceptExtension(u128, Result<bool, SessionError>),
ModuleAcceptedProtocols(u128, Result<Vec<String>, SessionError>),
CreateLocation(u128, Result<LocationId, SessionError>),
GetLocationsLen(u128, Result<usize, SessionError>),
GetLocations(u128, Result<Vec<LocationId>, SessionError>),
DestroyLocation(u128, Result<(), SessionError>),
MoveLocation(u128, Result<(), SessionError>),
GetDefaultLocation(u128, Result<LocationId, SessionError>),
LocationGetName(u128, Result<String, SessionError>),
LocationSetName(u128, Result<(), SessionError>),
LocationGetDesc(u128, Result<String, SessionError>),
LocationSetDesc(u128, Result<(), SessionError>),
LocationGetInfo(u128, Result<LocationInfo, SessionError>),
LocationGetPath(u128, Result<PathBuf, SessionError>),
LocationSetPath(u128, Result<(), SessionError>),
LocationGetShouldSave(u128, Result<bool, SessionError>),
LocationSetShouldSave(u128, Result<(), SessionError>),
LocationGetElementsLen(u128, Result<usize, SessionError>),
LocationGetElements(u128, Result<Vec<ElementId>, SessionError>),
LocationNotify(u128, Result<(), SessionError>),
LocationEmit(u128, Result<(), SessionError>),
LocationSubscribe(u128, Result<(), SessionError>),
LocationUnSubscribe(u128, Result<(), SessionError>),
CreateElement(u128, Result<ElementId, SessionError>),
MoveElement(u128, Result<(), SessionError>),
DestroyElement(u128, Result<(), SessionError>),
ElementGetName(u128, Result<String, SessionError>),
ElementSetName(u128, Result<(), SessionError>),
ElementGetDesc(u128, Result<String, SessionError>),
ElementSetDesc(u128, Result<(), SessionError>),
ElementGetMeta(u128, Result<String, SessionError>),
ElementSetMeta(u128, Result<(), SessionError>),
ElementGetUrl(u128, Result<Option<String>, SessionError>),
ElementSetUrl(u128, Result<(), SessionError>),
ElementGetElementData(u128, Result<Data, SessionError>),
ElementSetElementData(u128, Result<(), SessionError>),
ElementGetModuleData(u128, Result<Data, SessionError>),
ElementSetModuleData(u128, Result<(), SessionError>),
ElementGetModule(u128, Result<Option<ModuleId>, SessionError>),
ElementSetModule(u128, Result<(), SessionError>),
ElementGetStatuses(u128, Result<Vec<String>, SessionError>),
ElementSetStatuses(u128, Result<(), SessionError>),
ElementGetStatus(u128, Result<usize, SessionError>),
ElementSetStatus(u128, Result<(), SessionError>),
ElementGetData(u128, Result<FileOrData, SessionError>),
ElementSetData(u128, Result<(), SessionError>),
ElementGetProgress(u128, Result<f32, SessionError>),
ElementSetProgress(u128, Result<(), SessionError>),
ElementGetShouldSave(u128, Result<bool, SessionError>),
ElementSetShouldSave(u128, Result<(), SessionError>),
ElementGetEnabled(u128, Result<bool, SessionError>),
ElementSetEnabled(u128, Result<(), SessionError>),
ElementResolvModule(u128, Result<bool, SessionError>),
ElementWait(u128, Result<(), SessionError>),
ElementGetInfo(u128, Box<Result<ElementInfo, SessionError>>),
ElementNotify(u128, Result<(), SessionError>),
ElementEmit(u128, Result<(), SessionError>),
ElementSubscribe(u128, Result<(), SessionError>),
ElementUnSubscribe(u128, Result<(), SessionError>),
NewSessionEvent(SessionEvent),
}Variants§
LoadModule(u128, Result<ModuleId, SessionError>)
RemoveModule(u128, Result<(), SessionError>)
GetActionsLen(u128, Result<usize, SessionError>)
GetActions(u128, Result<Actions, SessionError>)
RunAction(u128, Result<(), SessionError>)
GetModulesLen(u128, Result<usize, SessionError>)
GetModules(u128, Result<Vec<ModuleId>, SessionError>)
ModuleGetName(u128, Result<String, SessionError>)
ModuleSetName(u128, Result<(), SessionError>)
ModuleGetDefaultName(u128, Result<String, SessionError>)
ModuleGetDesc(u128, Result<String, SessionError>)
ModuleSetDesc(u128, Result<(), SessionError>)
ModuleGetDefaultDesc(u128, Result<String, SessionError>)
ModuleGetProxy(u128, Result<usize, SessionError>)
ModuleSetProxy(u128, Result<(), SessionError>)
ModuleGetSettings(u128, Box<Result<Data, SessionError>>)
ModuleSetSettings(u128, Result<(), SessionError>)
ModuleGetElementSettings(u128, Result<Data, SessionError>)
ModuleSetElementSettings(u128, Result<(), SessionError>)
ModuleInitLocation(u128, Result<(), SessionError>)
ModuleInitElement(u128, Result<(), SessionError>)
ModuleAcceptUrl(u128, Result<bool, SessionError>)
ModuleAcceptExtension(u128, Result<bool, SessionError>)
ModuleAcceptedProtocols(u128, Result<Vec<String>, SessionError>)
CreateLocation(u128, Result<LocationId, SessionError>)
GetLocationsLen(u128, Result<usize, SessionError>)
GetLocations(u128, Result<Vec<LocationId>, SessionError>)
DestroyLocation(u128, Result<(), SessionError>)
MoveLocation(u128, Result<(), SessionError>)
GetDefaultLocation(u128, Result<LocationId, SessionError>)
LocationGetName(u128, Result<String, SessionError>)
LocationSetName(u128, Result<(), SessionError>)
LocationGetDesc(u128, Result<String, SessionError>)
LocationSetDesc(u128, Result<(), SessionError>)
LocationGetInfo(u128, Result<LocationInfo, SessionError>)
LocationGetPath(u128, Result<PathBuf, SessionError>)
LocationSetPath(u128, Result<(), SessionError>)
LocationGetShouldSave(u128, Result<bool, SessionError>)
LocationSetShouldSave(u128, Result<(), SessionError>)
LocationGetElementsLen(u128, Result<usize, SessionError>)
LocationGetElements(u128, Result<Vec<ElementId>, SessionError>)
LocationNotify(u128, Result<(), SessionError>)
LocationEmit(u128, Result<(), SessionError>)
LocationSubscribe(u128, Result<(), SessionError>)
LocationUnSubscribe(u128, Result<(), SessionError>)
CreateElement(u128, Result<ElementId, SessionError>)
MoveElement(u128, Result<(), SessionError>)
DestroyElement(u128, Result<(), SessionError>)
ElementGetName(u128, Result<String, SessionError>)
ElementSetName(u128, Result<(), SessionError>)
ElementGetDesc(u128, Result<String, SessionError>)
ElementSetDesc(u128, Result<(), SessionError>)
ElementGetMeta(u128, Result<String, SessionError>)
ElementSetMeta(u128, Result<(), SessionError>)
ElementGetUrl(u128, Result<Option<String>, SessionError>)
ElementSetUrl(u128, Result<(), SessionError>)
ElementGetElementData(u128, Result<Data, SessionError>)
ElementSetElementData(u128, Result<(), SessionError>)
ElementGetModuleData(u128, Result<Data, SessionError>)
ElementSetModuleData(u128, Result<(), SessionError>)
ElementGetModule(u128, Result<Option<ModuleId>, SessionError>)
ElementSetModule(u128, Result<(), SessionError>)
ElementGetStatuses(u128, Result<Vec<String>, SessionError>)
ElementSetStatuses(u128, Result<(), SessionError>)
ElementGetStatus(u128, Result<usize, SessionError>)
ElementSetStatus(u128, Result<(), SessionError>)
ElementGetData(u128, Result<FileOrData, SessionError>)
ElementSetData(u128, Result<(), SessionError>)
ElementGetProgress(u128, Result<f32, SessionError>)
ElementSetProgress(u128, Result<(), SessionError>)
ElementGetShouldSave(u128, Result<bool, SessionError>)
ElementSetShouldSave(u128, Result<(), SessionError>)
ElementGetEnabled(u128, Result<bool, SessionError>)
ElementSetEnabled(u128, Result<(), SessionError>)
ElementResolvModule(u128, Result<bool, SessionError>)
ElementWait(u128, Result<(), SessionError>)
ElementGetInfo(u128, Box<Result<ElementInfo, SessionError>>)
ElementNotify(u128, Result<(), SessionError>)
ElementEmit(u128, Result<(), SessionError>)
ElementSubscribe(u128, Result<(), SessionError>)
ElementUnSubscribe(u128, Result<(), SessionError>)
NewSessionEvent(SessionEvent)
Implementations§
Trait Implementations§
source§impl Clone for ClientPackets
impl Clone for ClientPackets
source§fn clone(&self) -> ClientPackets
fn clone(&self) -> ClientPackets
Returns a copy 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 more