Struct fidl::handle::fuchsia_handles::HandleDisposition
pub struct HandleDisposition<'a> {
pub handle_op: HandleOp<'a>,
pub object_type: ObjectType,
pub rights: Rights,
pub result: Status,
}
Expand description
Operation to perform on handles during write. Based on zx_handle_disposition_t, but does not match the same layout.
Fields§
§handle_op: HandleOp<'a>
§object_type: ObjectType
§rights: Rights
§result: Status
Implementations§
§impl HandleDisposition<'_>
impl HandleDisposition<'_>
pub fn into_raw<'a>(self) -> zx_handle_disposition_t
Trait Implementations§
§impl<'a> Debug for HandleDisposition<'a>
impl<'a> Debug for HandleDisposition<'a>
§impl<'a> Hash for HandleDisposition<'a>
impl<'a> Hash for HandleDisposition<'a>
§impl<'a> Ord for HandleDisposition<'a>
impl<'a> Ord for HandleDisposition<'a>
§fn cmp(&self, other: &HandleDisposition<'a>) -> Ordering
fn cmp(&self, other: &HandleDisposition<'a>) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl<'a> PartialEq for HandleDisposition<'a>
impl<'a> PartialEq for HandleDisposition<'a>
§fn eq(&self, other: &HandleDisposition<'a>) -> bool
fn eq(&self, other: &HandleDisposition<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl<'a> PartialOrd for HandleDisposition<'a>
impl<'a> PartialOrd for HandleDisposition<'a>
§fn partial_cmp(&self, other: &HandleDisposition<'a>) -> Option<Ordering>
fn partial_cmp(&self, other: &HandleDisposition<'a>) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl<'a> Eq for HandleDisposition<'a>
impl<'a> StructuralPartialEq for HandleDisposition<'a>
Auto Trait Implementations§
impl<'a> Freeze for HandleDisposition<'a>
impl<'a> RefUnwindSafe for HandleDisposition<'a>
impl<'a> Send for HandleDisposition<'a>
impl<'a> Sync for HandleDisposition<'a>
impl<'a> Unpin for HandleDisposition<'a>
impl<'a> UnwindSafe for HandleDisposition<'a>
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