[][src]Struct polyfuse::op::Getxattr

pub struct Getxattr<'a> { /* fields omitted */ }

Get an extended attribute.

The operation should send the length of attribute's value with reply.size(n) when size is equal to zero.

Methods

impl<'a> Getxattr<'a>[src]

pub fn ino(&self) -> u64[src]

pub fn name(&self) -> &OsStr[src]

pub fn size(&self) -> u32[src]

pub async fn reply_size<'_, '_, T: ?Sized>(
    self,
    cx: &'_ mut Context<'_, T>,
    out: impl AsRef<ReplyXattr>
) -> Result<()> where
    T: Writer + Unpin
[src]

pub async fn reply<'_, '_, T: ?Sized>(
    self,
    cx: &'_ mut Context<'_, T>,
    data: impl AsRef<[u8]>
) -> Result<()> where
    T: Writer + Unpin
[src]

pub async fn reply_vectored<'_, '_, '_, '_, T: ?Sized>(
    self,
    cx: &'_ mut Context<'_, T>,
    data: &'_ [&'_ [u8]]
) -> Result<()> where
    T: Writer + Unpin
[src]

Trait Implementations

impl<'a> Debug for Getxattr<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for Getxattr<'a>

impl<'a> Send for Getxattr<'a>

impl<'a> Sync for Getxattr<'a>

impl<'a> Unpin for Getxattr<'a>

impl<'a> UnwindSafe for Getxattr<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.