[−][src]Struct fat32::file::File
Implementations
impl<BASE> File<BASE> where
BASE: BasicOperation + Clone + Copy,
<BASE as BasicOperation>::Error: Debug,
[src]
BASE: BasicOperation + Clone + Copy,
<BASE as BasicOperation>::Error: Debug,
pub fn write(&mut self, buf: &[u8]) -> Result<(), FileError>
[src]
write buffer to card, buf length is multiple of BUFFER_SIZE
pub fn read(&self, buf: &mut [u8]) -> Result<usize, FileError>
[src]
read card blocks to buffer
Trait Implementations
impl<BASE: Clone> Clone for File<BASE> where
BASE: BasicOperation + Clone + Copy,
<BASE as BasicOperation>::Error: Debug,
[src]
BASE: BasicOperation + Clone + Copy,
<BASE as BasicOperation>::Error: Debug,
fn clone(&self) -> File<BASE>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<BASE: Copy> Copy for File<BASE> where
BASE: BasicOperation + Clone + Copy,
<BASE as BasicOperation>::Error: Debug,
[src]
BASE: BasicOperation + Clone + Copy,
<BASE as BasicOperation>::Error: Debug,
impl<BASE: Debug> Debug for File<BASE> where
BASE: BasicOperation + Clone + Copy,
<BASE as BasicOperation>::Error: Debug,
[src]
BASE: BasicOperation + Clone + Copy,
<BASE as BasicOperation>::Error: Debug,
Auto Trait Implementations
impl<BASE> Send for File<BASE> where
BASE: Send,
BASE: Send,
impl<BASE> Sync for File<BASE> where
BASE: Sync,
BASE: Sync,
impl<BASE> Unpin for File<BASE> where
BASE: Unpin,
BASE: Unpin,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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>,