File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818 terms :
1919 # how to actually do something with the API
2020 action : doit
21+ # when a resource is supposed to be uploaded
22+ upload_action : upload
2123 templates :
2224 # all output directories are relative to the one set for the respective API
2325 - source : README.md
Original file line number Diff line number Diff line change 11// COPY OF 'src/rust/cmn.rs'
22// DO NOT EDIT
33use std:: marker:: MarkerTrait ;
4+ use std:: io:: { Read , Seek } ;
5+ use std:: borrow:: BorrowMut ;
46
57/// Identifies the Hub. There is only one per library, this trait is supposed
68/// to make intended use more explicit.
@@ -30,3 +32,7 @@ pub trait Part: MarkerTrait {}
3032/// Identifies types which are only used by other types internally.
3133/// They have no special meaning, this trait just marks them for completeness.
3234pub trait NestedType : MarkerTrait { }
35+
36+ /// A utility to specify reader types which provide seeking capabilities too
37+ pub trait ReadSeek : Seek + Read { }
38+ impl < T : Seek + Read > ReadSeek for T { }
You can’t perform that action at this time.
0 commit comments