Struct IoAtRaw

Source
pub struct IoAtRaw<S: AsRaw>(/* private fields */);

Trait Implementations§

Source§

impl<S: Debug + AsRaw> Debug for IoAtRaw<S>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<T: AsRaw> Deref for IoAtRaw<T>

Source§

type Target = T

The resulting type after dereferencing.
Source§

fn deref<'a>(&'a self) -> &'a T

Dereferences the value.
Source§

impl<T: AsRaw> DerefMut for IoAtRaw<T>

Source§

fn deref_mut<'a>(&'a mut self) -> &'a mut T

Mutably dereferences the value.
Source§

impl<S: AsRaw> From<S> for IoAtRaw<S>

Source§

fn from(v: S) -> Self

Converts to this type from the input type.
Source§

impl<S: PartialEq + AsRaw> PartialEq for IoAtRaw<S>

Source§

fn eq(&self, other: &IoAtRaw<S>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<S: AsRaw> ReadAt for IoAtRaw<S>

Source§

fn read_at(&self, buf: &mut [u8], offs: u64) -> Result<usize>

Source§

impl<S: AsRaw> WriteAt for IoAtRaw<S>

Source§

fn write_at(&mut self, buf: &[u8], offs: u64) -> Result<usize>

Source§

fn write_all_at(&mut self, buf: &[u8], offs: u64) -> Result<()>

Source§

impl<S: Eq + AsRaw> Eq for IoAtRaw<S>

Source§

impl<S: AsRaw> StructuralPartialEq for IoAtRaw<S>

Auto Trait Implementations§

§

impl<S> Freeze for IoAtRaw<S>
where S: Freeze,

§

impl<S> RefUnwindSafe for IoAtRaw<S>
where S: RefUnwindSafe,

§

impl<S> Send for IoAtRaw<S>
where S: Send,

§

impl<S> Sync for IoAtRaw<S>
where S: Sync,

§

impl<S> Unpin for IoAtRaw<S>
where S: Unpin,

§

impl<S> UnwindSafe for IoAtRaw<S>
where S: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<P, T> Receiver for P
where P: Deref<Target = T> + ?Sized, T: ?Sized,

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
The target type on which the method may be called.
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.