Struct argdata::ArgdataRef [−][src]
pub struct ArgdataRef<'a, 'd: 'a> { /* fields omitted */ }
A reference to an argdata value.
Either a substring of an encoded argdata value, or just a &Argdata
.
Methods
impl<'a, 'd: 'a> ArgdataRef<'a, 'd>
[src]
impl<'a, 'd: 'a> ArgdataRef<'a, 'd>
pub fn encoded(
bytes: &'d [u8],
convert_fd: &'a (ConvertFd + 'a)
) -> ArgdataRef<'a, 'd>
[src]
pub fn encoded(
bytes: &'d [u8],
convert_fd: &'a (ConvertFd + 'a)
) -> ArgdataRef<'a, 'd>
Create an ArgdataRef that refers to a substring of an encoded argdata value.
pub fn reference(value: &'a (Argdata<'d> + 'a)) -> ArgdataRef<'a, 'd>
[src]
pub fn reference(value: &'a (Argdata<'d> + 'a)) -> ArgdataRef<'a, 'd>
Create an ArgdataRef that simply refers to something that implements Argdata.
Trait Implementations
impl<'a, 'd> Debug for ArgdataRef<'a, 'd>
[src]
impl<'a, 'd> Debug for ArgdataRef<'a, 'd>
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl<'a, 'd: 'a> Deref for ArgdataRef<'a, 'd>
[src]
impl<'a, 'd: 'a> Deref for ArgdataRef<'a, 'd>
Auto Trait Implementations
impl<'a, 'd> !Send for ArgdataRef<'a, 'd>
impl<'a, 'd> !Send for ArgdataRef<'a, 'd>
impl<'a, 'd> !Sync for ArgdataRef<'a, 'd>
impl<'a, 'd> !Sync for ArgdataRef<'a, 'd>