Commit graph

9 commits

Author SHA1 Message Date
Sebastian Dröge acc7d2ea26 Use Option<&str> instead of &Option<&str> for set_uri()
This seems more ergonomic to use, and is more common in other libraries.
2016-05-18 11:39:37 +03:00
Sebastian Dröge b8a031c29b Use Option<&str> instead of Option<String> for set_uri()
There is no reason to require a heap-allocated String here.
2016-05-18 11:29:57 +03:00
Sebastian Dröge 546d67fa5a Add license and copyright notices 2016-05-15 18:54:09 +03:00
Sebastian Dröge 2cbe76c64f Implement and require Sync+Send for sinks 2016-05-15 18:26:17 +03:00
Sebastian Dröge 400696fbf8 Minor cleanup and make mutability more restricted 2016-05-15 17:43:13 +03:00
Sebastian Dröge e43f247be3 Fix various compiler warnings 2016-05-15 17:34:13 +03:00
Luis de Bethencourt d6d306f916 RsFileSink writes buffers to a file 2016-05-15 17:25:54 +03:00
Luis de Bethencourt aeefcefe09 Add skeleton for RsFileSink with the new structure
Doesn't write to a file yet, just prints out a message when a buffer is
received. All the skeleton is there to implement Sink children.
2016-05-15 14:07:06 +03:00
Luis de Bethencourt ca18a73253 Add skeleton of rsfilesink 2016-05-13 18:18:04 +03:00