pub enum HdrVar<'fds, 'buf> {
Path(&'buf ObjectPath),
Str(&'buf str),
U32(u32),
Sig(&'buf SigStr),
Catchall(Variant<'fds, 'buf>),
}
Variants§
Trait Implementations§
Source§impl<'fds, 'buf> Marshal for HdrVar<'fds, 'buf>
impl<'fds, 'buf> Marshal for HdrVar<'fds, 'buf>
fn marshal(&self, ctx: &mut MarshalContext<'_, '_>) -> Result<(), Error>
fn marshal_as_variant( &self, ctx: &mut MarshalContext<'_, '_>, ) -> Result<(), Error>
Source§impl<'fds, 'buf> Signature for HdrVar<'fds, 'buf>
impl<'fds, 'buf> Signature for HdrVar<'fds, 'buf>
fn signature() -> Type
fn alignment() -> usize
Source§fn sig_str(s_buf: &mut SignatureBuffer)
fn sig_str(s_buf: &mut SignatureBuffer)
Appends the signature of the type to the
SignatureBuffer
. Read moreSource§impl<'buf, 'fds> Unmarshal<'buf, 'fds> for HdrVar<'fds, 'buf>
impl<'buf, 'fds> Unmarshal<'buf, 'fds> for HdrVar<'fds, 'buf>
fn unmarshal(ctx: &mut UnmarshalContext<'fds, 'buf>) -> UnmarshalResult<Self>
Auto Trait Implementations§
impl<'fds, 'buf> Freeze for HdrVar<'fds, 'buf>
impl<'fds, 'buf> RefUnwindSafe for HdrVar<'fds, 'buf>
impl<'fds, 'buf> Send for HdrVar<'fds, 'buf>
impl<'fds, 'buf> Sync for HdrVar<'fds, 'buf>
impl<'fds, 'buf> Unpin for HdrVar<'fds, 'buf>
impl<'fds, 'buf> UnwindSafe for HdrVar<'fds, 'buf>
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