Struct wasmtime_wasi::preview2::bindings::filesystem::filesystem::DescriptorFlags
source · pub struct DescriptorFlags { /* private fields */ }
Implementations§
source§impl DescriptorFlags
impl DescriptorFlags
pub const READ: Self = _
pub const WRITE: Self = _
pub const FILE_INTEGRITY_SYNC: Self = _
pub const DATA_INTEGRITY_SYNC: Self = _
pub const REQUESTED_WRITE_SYNC: Self = _
pub const MUTATE_DIRECTORY: Self = _
pub fn as_array(&self) -> [u32; 1]
pub fn empty() -> Self
pub fn all() -> Self
pub fn contains(&self, other: Self) -> bool
pub fn intersects(&self, other: Self) -> bool
Trait Implementations§
source§impl BitAnd<DescriptorFlags> for DescriptorFlags
impl BitAnd<DescriptorFlags> for DescriptorFlags
§type Output = DescriptorFlags
type Output = DescriptorFlags
The resulting type after applying the
&
operator.source§fn bitand(self, rhs: DescriptorFlags) -> DescriptorFlags
fn bitand(self, rhs: DescriptorFlags) -> DescriptorFlags
Performs the
&
operation. Read moresource§impl BitAndAssign<DescriptorFlags> for DescriptorFlags
impl BitAndAssign<DescriptorFlags> for DescriptorFlags
source§fn bitand_assign(&mut self, rhs: DescriptorFlags)
fn bitand_assign(&mut self, rhs: DescriptorFlags)
Performs the
&=
operation. Read moresource§impl BitOr<DescriptorFlags> for DescriptorFlags
impl BitOr<DescriptorFlags> for DescriptorFlags
§type Output = DescriptorFlags
type Output = DescriptorFlags
The resulting type after applying the
|
operator.source§fn bitor(self, rhs: DescriptorFlags) -> DescriptorFlags
fn bitor(self, rhs: DescriptorFlags) -> DescriptorFlags
Performs the
|
operation. Read moresource§impl BitOrAssign<DescriptorFlags> for DescriptorFlags
impl BitOrAssign<DescriptorFlags> for DescriptorFlags
source§fn bitor_assign(&mut self, rhs: DescriptorFlags)
fn bitor_assign(&mut self, rhs: DescriptorFlags)
Performs the
|=
operation. Read moresource§impl BitXor<DescriptorFlags> for DescriptorFlags
impl BitXor<DescriptorFlags> for DescriptorFlags
§type Output = DescriptorFlags
type Output = DescriptorFlags
The resulting type after applying the
^
operator.source§fn bitxor(self, rhs: DescriptorFlags) -> DescriptorFlags
fn bitxor(self, rhs: DescriptorFlags) -> DescriptorFlags
Performs the
^
operation. Read moresource§impl BitXorAssign<DescriptorFlags> for DescriptorFlags
impl BitXorAssign<DescriptorFlags> for DescriptorFlags
source§fn bitxor_assign(&mut self, rhs: DescriptorFlags)
fn bitxor_assign(&mut self, rhs: DescriptorFlags)
Performs the
^=
operation. Read moresource§impl Clone for DescriptorFlags
impl Clone for DescriptorFlags
source§fn clone(&self) -> DescriptorFlags
fn clone(&self) -> DescriptorFlags
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DescriptorFlags
impl Debug for DescriptorFlags
source§impl Default for DescriptorFlags
impl Default for DescriptorFlags
source§fn default() -> DescriptorFlags
fn default() -> DescriptorFlags
Returns the “default value” for a type. Read more
source§impl From<DescriptorFlags> for DescriptorFlags
impl From<DescriptorFlags> for DescriptorFlags
source§fn from(other: DescriptorFlags) -> Self
fn from(other: DescriptorFlags) -> Self
Converts to this type from the input type.
source§impl From<DescriptorFlags> for DescriptorFlags
impl From<DescriptorFlags> for DescriptorFlags
source§fn from(other: DescriptorFlags) -> Self
fn from(other: DescriptorFlags) -> Self
Converts to this type from the input type.
source§impl Not for DescriptorFlags
impl Not for DescriptorFlags
§type Output = DescriptorFlags
type Output = DescriptorFlags
The resulting type after applying the
!
operator.source§fn not(self) -> DescriptorFlags
fn not(self) -> DescriptorFlags
Performs the unary
!
operation. Read moresource§impl PartialEq<DescriptorFlags> for DescriptorFlags
impl PartialEq<DescriptorFlags> for DescriptorFlags
source§fn eq(&self, rhs: &DescriptorFlags) -> bool
fn eq(&self, rhs: &DescriptorFlags) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl ComponentType for DescriptorFlags
impl Copy for DescriptorFlags
impl Eq for DescriptorFlags
impl Lift for DescriptorFlags
impl Lower for DescriptorFlags
Auto Trait Implementations§
impl RefUnwindSafe for DescriptorFlags
impl Send for DescriptorFlags
impl Sync for DescriptorFlags
impl Unpin for DescriptorFlags
impl UnwindSafe for DescriptorFlags
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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T> GetSetFdFlags for T
impl<T> GetSetFdFlags for T
source§fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
fn get_fd_flags(&self) -> Result<FdFlags, Error>where T: AsFilelike,
Query the “status” flags for the
self
file descriptor.source§fn new_set_fd_flags(&self, fd_flags: FdFlags) -> Result<SetFdFlags<T>, Error>where
T: AsFilelike,
fn new_set_fd_flags(&self, fd_flags: FdFlags) -> Result<SetFdFlags<T>, Error>where T: AsFilelike,
source§fn set_fd_flags(&mut self, set_fd_flags: SetFdFlags<T>) -> Result<(), Error>where
T: AsFilelike,
fn set_fd_flags(&mut self, set_fd_flags: SetFdFlags<T>) -> Result<(), Error>where T: AsFilelike,
Set the “status” flags for the
self
file descriptor. Read more