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
sourceimpl Debug for WriteHandle
impl Debug for WriteHandle
sourceimpl Hash for WriteHandle
impl Hash for WriteHandle
sourceimpl<'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.
sourceimpl Ord for WriteHandle
impl Ord for WriteHandle
sourceimpl PartialEq<WriteHandle> for WriteHandle
impl PartialEq<WriteHandle> for WriteHandle
sourcefn 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 ==. Read more
sourcefn ne(&self, other: &WriteHandle) -> bool
fn ne(&self, other: &WriteHandle) -> bool
This method tests for !=.
sourceimpl PartialOrd<WriteHandle> for WriteHandle
impl PartialOrd<WriteHandle> for WriteHandle
sourcefn partial_cmp(&self, other: &WriteHandle) -> Option<Ordering>
fn partial_cmp(&self, other: &WriteHandle) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · sourcefn 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 more
impl Eq for WriteHandle
impl StructuralEq for WriteHandle
impl StructuralPartialEq for WriteHandle
Auto Trait Implementations
impl RefUnwindSafe for WriteHandle
impl Send for WriteHandle
impl Sync for WriteHandle
impl Unpin for WriteHandle
impl UnwindSafe for WriteHandle
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more