pub struct File {
pub channel: u8,
}Fields§
§channel: u8Implementations§
Source§impl File
impl File
Sourcepub fn create(filename: &[u8]) -> Result<File, u8>
pub fn create(filename: &[u8]) -> Result<File, u8>
open file for writing filename must end with \x9b
Sourcepub fn open(filename: &[u8]) -> Result<File, u8>
pub fn open(filename: &[u8]) -> Result<File, u8>
open file for reading filename must end with \x9b
pub fn open_with_mode(filename: &[u8], mode: Mode) -> Result<File, u8>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for File
impl RefUnwindSafe for File
impl Send for File
impl Sync for File
impl Unpin for File
impl UnsafeUnpin for File
impl UnwindSafe for File
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