[−][src]Struct amadeus_core::file::LocalFile
Methods
impl LocalFile[src]
Trait Implementations
impl Page for LocalFile[src]
type Error = IoError
fn len(&self) -> u64[src]
fn set_len(&self, len: u64) -> Result<(), Self::Error>[src]
fn read<'a>(
&'a self,
offset: u64,
buf: &'a mut [u8]
) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'a>>[src]
&'a self,
offset: u64,
buf: &'a mut [u8]
) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'a>>
fn write<'a>(
&'a self,
offset: u64,
buf: &'a [u8]
) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'a>>[src]
&'a self,
offset: u64,
buf: &'a [u8]
) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'a>>
fn block_on<F>(future: F) -> F::Output where
F: Future + Send,
F::Output: Send, [src]
F: Future + Send,
F::Output: Send,
ⓘImportant traits for Reader<P>fn reader(self) -> Reader<Self> where
Self: Sized, [src]
ⓘImportant traits for Reader<P>
Self: Sized,
impl From<File> for LocalFile[src]
impl From<LocalFile> for File[src]
Auto Trait Implementations
impl Unpin for LocalFile
impl Sync for LocalFile
impl Send for LocalFile
impl UnwindSafe for LocalFile
impl RefUnwindSafe for LocalFile
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> From<T> for T[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,
fn vzip(self) -> V
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> IntersectPlusUnionIsPlus for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> FromBits<T> for T
fn from_bits(t: T) -> T
impl<T, U> Cast<U> for T where
U: FromCast<T>,
U: FromCast<T>,
fn cast(self) -> U
impl<T> FromCast<T> for T
fn from_cast(t: T) -> T
impl<T, U> IntoBits<U> for T where
U: FromBits<T>,
U: FromBits<T>,