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