pub struct Io<'a> {
pub cache: Option<&'a Path>,
pub downloads: Option<&'a Path>,
pub replies: &'a mut Vec<u8>,
}Expand description
What RIP needs from outside: where its files are, and a way to answer.
Fields§
§cache: Option<&'a Path>The BBS’s file cache; RIP’s own files are in RIP in it.
downloads: Option<&'a Path>Where downloads go, also searched for icons and scenes.
replies: &'a mut Vec<u8>Auto Trait Implementations§
impl<'a> !UnwindSafe for Io<'a>
impl<'a> Freeze for Io<'a>
impl<'a> RefUnwindSafe for Io<'a>
impl<'a> Send for Io<'a>
impl<'a> Sync for Io<'a>
impl<'a> Unpin for Io<'a>
impl<'a> UnsafeUnpin for Io<'a>
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