Enum wayrs_core::ArgValue
source · pub enum ArgValue {
Int(i32),
Uint(u32),
Fixed(Fixed),
Object(ObjectId),
OptObject(Option<ObjectId>),
NewId(ObjectId),
AnyNewId(Cow<'static, CStr>, u32, ObjectId),
String(CString),
OptString(Option<CString>),
Array(Vec<u8>),
Fd(OwnedFd),
}
Variants§
Int(i32)
Uint(u32)
Fixed(Fixed)
Object(ObjectId)
OptObject(Option<ObjectId>)
NewId(ObjectId)
AnyNewId(Cow<'static, CStr>, u32, ObjectId)
String(CString)
OptString(Option<CString>)
Array(Vec<u8>)
Fd(OwnedFd)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ArgValue
impl RefUnwindSafe for ArgValue
impl Send for ArgValue
impl Sync for ArgValue
impl Unpin for ArgValue
impl UnwindSafe for ArgValue
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