Struct oc_wasm_opencomputers::filesystem::WriteHandle
source · pub struct WriteHandle { /* private fields */ }Expand description
A handle to a file open for reading.
The file is closed when the handle is dropped.
Trait Implementations§
source§impl Debug for WriteHandle
impl Debug for WriteHandle
source§impl Hash for WriteHandle
impl Hash for WriteHandle
source§impl<'handle, 'invoker, 'buffer, B: 'buffer + Buffer> Lockable<'invoker, 'buffer, B> for &'handle WriteHandle
impl<'handle, 'invoker, 'buffer, B: 'buffer + Buffer> Lockable<'invoker, 'buffer, B> for &'handle WriteHandle
§type Locked = LockedWriteHandle<'handle, 'invoker, 'buffer, B>
type Locked = LockedWriteHandle<'handle, 'invoker, 'buffer, B>
The type obtained when locking the component.
source§impl Ord for WriteHandle
impl Ord for WriteHandle
source§fn cmp(&self, other: &WriteHandle) -> Ordering
fn cmp(&self, other: &WriteHandle) -> 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
source§impl PartialEq for WriteHandle
impl PartialEq for WriteHandle
source§fn eq(&self, other: &WriteHandle) -> bool
fn eq(&self, other: &WriteHandle) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for WriteHandle
impl PartialOrd for WriteHandle
source§fn partial_cmp(&self, other: &WriteHandle) -> Option<Ordering>
fn partial_cmp(&self, other: &WriteHandle) -> 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 Eq for WriteHandle
impl StructuralPartialEq for WriteHandle
Auto Trait Implementations§
impl Freeze for WriteHandle
impl RefUnwindSafe for WriteHandle
impl Send for WriteHandle
impl Sync for WriteHandle
impl Unpin for WriteHandle
impl UnwindSafe for WriteHandle
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