pub enum PropertyValue {
None,
String(String),
OsdString(OsdString),
Flag(bool),
Int64(i64),
Double(f64),
Node(Node),
NodeArray(NodeArray),
NodeMap(NodeMap),
ByteArray(ByteArray),
}Expand description
An enum of the possible values returned in a GetPropertyReply or a PropertyChange.
Variants§
None
Sometimes used for empty values or errors. See Format::NONE.
String(String)
A raw property string. See Format::STRING.
OsdString(OsdString)
An OSD property string. See Format::OSD_STRING.
Flag(bool)
A flag property. See Format::FLAG.
Int64(i64)
An int64 property. See Format::INT64.
Double(f64)
A double property. See Format::DOUBLE.
Node(Node)
A Node property. See Format::NODE.
NodeArray(NodeArray)
A NodeArray property. See Format::NODE_ARRAY.
NodeMap(NodeMap)
A NodeMap property. See Format::NODE_MAP.
ByteArray(ByteArray)
A ByteArray property. See Format::BYTE_ARRAY.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PropertyValue
impl RefUnwindSafe for PropertyValue
impl Send for PropertyValue
impl Sync for PropertyValue
impl Unpin for PropertyValue
impl UnwindSafe for PropertyValue
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