Enum rustbus::params::Base [−][src]
pub enum Base<'a> {}Show variants
Double(u64), Byte(u8), Int16(i16), Uint16(u16), Int32(i32), Uint32(u32), UnixFd(UnixFd), Int64(i64), Uint64(u64), String(String), Signature(String), ObjectPath(String), Boolean(bool), DoubleRef(&'a u64), ByteRef(&'a u8), Int16Ref(&'a i16), Uint16Ref(&'a u16), Int32Ref(&'a i32), Uint32Ref(&'a u32), UnixFdRef(&'a UnixFd), Int64Ref(&'a i64), Uint64Ref(&'a u64), StringRef(&'a str), SignatureRef(&'a str), ObjectPathRef(&'a str), BooleanRef(&'a bool),
The base types a message can have as parameters
There are From
Variants
Double(u64)
Byte(u8)
Int16(i16)
Uint16(u16)
Int32(i32)
Uint32(u32)
UnixFd(UnixFd)
Int64(i64)
Uint64(u64)
String(String)
Signature(String)
ObjectPath(String)
Boolean(bool)
DoubleRef(&'a u64)
ByteRef(&'a u8)
Int16Ref(&'a i16)
Uint16Ref(&'a u16)
Int32Ref(&'a i32)
Uint32Ref(&'a u32)
UnixFdRef(&'a UnixFd)
Int64Ref(&'a i64)
Uint64Ref(&'a u64)
StringRef(&'a str)
SignatureRef(&'a str)
ObjectPathRef(&'a str)
BooleanRef(&'a bool)
Implementations
impl<'a> Base<'a>
[src]
impl<'a> Base<'a>
[src]pub fn as_str(&'a self) -> Option<&'a str>
[src]
pub fn as_u64(&'a self) -> Option<&'a u64>
[src]
pub fn as_u32(&'a self) -> Option<&'a u32>
[src]
pub fn as_u16(&'a self) -> Option<&'a u16>
[src]
pub fn as_i64(&'a self) -> Option<&'a i64>
[src]
pub fn as_i32(&'a self) -> Option<&'a i32>
[src]
pub fn as_i16(&'a self) -> Option<&'a i16>
[src]
pub fn as_byte(&'a self) -> Option<&'a u8>
[src]
pub fn as_bool(&'a self) -> Option<&'a bool>
[src]
pub fn as_unix_fd(&'a self) -> Option<&'a UnixFd>
[src]
pub fn into_string(self) -> Result<String, Self>
[src]
pub fn into_str(self) -> Result<&'a str, Self>
[src]
pub fn into_u64(self) -> Result<u64, Self>
[src]
pub fn into_u32(self) -> Result<u32, Self>
[src]
pub fn into_u16(self) -> Result<u16, Self>
[src]
pub fn into_i64(self) -> Result<i64, Self>
[src]
pub fn into_i32(self) -> Result<i32, Self>
[src]
pub fn into_i16(self) -> Result<i16, Self>
[src]
pub fn into_byte(self) -> Result<u8, Self>
[src]
pub fn into_bool(self) -> Result<bool, Self>
[src]
impl<'a> Base<'a>
[src]
impl<'a> Base<'a>
[src]