[−][src]Trait librapidarchive::fs::portable::ArchivalSink
Supertrait that represents all the things a good archive sink needs to be.
TODO: The moment Rust gets the ability to handle multiple traits in a single trait object, delete this arbitrary supertrait immediately.
TODO: wait no now this supertrait does downcasts because Box won't
Provided methods
fn downcast_seek(&mut self) -> Option<&mut dyn Seek>
fn downcast_tapedevice(&mut self) -> Option<&mut dyn TapeDevice>
Implementations on Foreign Types
impl<I> ArchivalSink<I> for File
[src]
fn downcast_seek(&mut self) -> Option<&mut dyn Seek>
[src]
fn downcast_tapedevice(&mut self) -> Option<&mut dyn TapeDevice>
[src]
Implementors
impl<P> ArchivalSink<P> for UnixTapeDevice<P> where
P: Send + Clone,
[src]
P: Send + Clone,
fn downcast_tapedevice(&mut self) -> Option<&mut dyn TapeDevice>
[src]
fn downcast_seek(&mut self) -> Option<&mut dyn Seek>
[src]
impl<T, P> ArchivalSink<P> for ConcurrentWriteBuffer<T, P> where
T: 'static + Write + Send + RecoverableWrite<P>,
P: 'static + Send + Clone + PartialEq,
[src]
T: 'static + Write + Send + RecoverableWrite<P>,
P: 'static + Send + Clone + PartialEq,
fn downcast_seek(&mut self) -> Option<&mut dyn Seek>
[src]
fn downcast_tapedevice(&mut self) -> Option<&mut dyn TapeDevice>
[src]
impl<W, I> ArchivalSink<I> for LimitingWriter<W> where
W: ArchivalSink<I> + Send,
[src]
W: ArchivalSink<I> + Send,
fn downcast_seek(&mut self) -> Option<&mut dyn Seek>
[src]
fn downcast_tapedevice(&mut self) -> Option<&mut dyn TapeDevice>
[src]
impl<W: Write, P> ArchivalSink<P> for BlockingWriter<W, P> where
W: Send + RecoverableWrite<P>,
P: Send + Clone + PartialEq,
[src]
W: Send + RecoverableWrite<P>,
P: Send + Clone + PartialEq,