[−][src]Enum artnet_protocol::ArtCommand
The ArtCommand, to be used for ArtNet.
This struct implements an into_buffer
and from_buffer
function, to be used with UDP connections.
Variants
Poll(Poll)
A poll command, used to discover devices on the network
PollReply(Box<PollReply>)
A reply to the poll command, it contains device status information
DiagData
[Not implemented] Diagnostics and data logging packet
Command
[Not implemented] Used to send text based parameter commands
Output(Output)
An ArtDmx data packet. Used to send actual data to a node in the network
Nzs
[Not implemented] This is an ArtNzs data packet. It contains non-zero start code (except RDM) DMX512 information for a single Universe
Sync
[Not implemented] This is an ArtSync data packet. It is used to force synchronous transfer of ArtDmx packets to a node's output
Address
[Not implemented] This is an ArtAddress packet. It contains remote programming information for a Node.
Input
[Not implemented] This is an ArtInput packet. It contains enable – disable data for DMX inputs
TodRequest
[Not implemented] This is an ArtTodRequest packet. It is used to request a Table of Devices (ToD) for RDM discovery.
TodData
[Not implemented] This is an ArtTodData packet. It is used to send a Table of Devices (ToD) for RDM discovery
TodControl
[Not implemented] This is an ArtTodControl packet. It is used to send RDM discovery control messages.
Rdm
[Not implemented] This is an ArtRdm packet. It is used to send all non discovery RDM messages
RdmSub
[Not implemented] This is an ArtRdmSub packet. It is used to send compressed, RDM Sub-Device data.
VideoSetup
[Not implemented] This is an ArtVideoSetup packet. It contains video screen setup information for nodes that implement the extended video features.
VideoPalette
[Not implemented] This is an ArtVideoPalette packet. It contains colour palette setup information for nodes that implement the extended video features.
VideoData
[Not implemented] This is an ArtVideoData packet. It contains display data for nodes that implement the extended video features.
MacMaster
[Not implemented] This packet is deprecated
MacSlave
[Not implemented] This packet is deprecated
FirmwareMaster
[Not implemented] This is an ArtFirmwareMaster packet. It is used to upload new firmware or firmware extensions to the Node.
FirmwareReply
[Not implemented] This is an ArtFirmwareReply packet. It is returned by the node to acknowledge receipt of an ArtFirmwareMaster packet or ArtFileTnMaster packet.
FileTnMaster
[Not implemented] Uploads user file to node.
FileFnMaster
[Not implemented] Downloads user file from node
FileFnReply
[Not implemented] Server to Node acknowledge for download packets
OpIpProg
[Not implemented] This is an ArtIpProg packet. It is used to reprogramme the IP address and Mask of the Node
OpIpProgReply
[Not implemented] This is an ArtIpProgReply packet. It is returned by the node to acknowledge receipt of an ArtIpProg packet.
OpMedia
[Not implemented] This is an ArtMedia packet. It is Unicast by a Media Server and acted upon by a Controller
OpMediaPatch
[Not implemented] This is an ArtMediaPatch packet. It is Unicast by a Controller and acted upon by a Media Server
OpMediaControl
[Not implemented] This is an ArtMediaControl packet. It is Unicast by a Controller and acted upon by a Media Server.
OpMediaControlReply
[Not implemented] This is an ArtMediaControlReply packet. It is Unicast by a Media Server and acted upon by a Controller
OpTimeCode
[Not implemented] This is an ArtTimeCode packet. It is used to transport time code over the network
OpTimeSync
[Not implemented] Used to synchronise real time date and clock
OpTrigger
[Not implemented] Used to send trigger macros
OpDirectory
[Not implemented] Requests a node's file list
OpDirectoryReply
[Not implemented] Replies to OpDirectory with file list
Methods
impl ArtCommand
[src]
pub fn into_buffer(self) -> Result<Vec<u8>>
[src]
Convert an ArtCommand in a byte buffer, which can be send to an UDP socket.
pub fn from_buffer(buffer: &[u8]) -> Result<ArtCommand>
[src]
Convert an a byte buffer to a command.
Trait Implementations
Auto Trait Implementations
impl Sync for ArtCommand
impl Send for ArtCommand
impl Unpin for ArtCommand
impl RefUnwindSafe for ArtCommand
impl UnwindSafe for ArtCommand
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,