@@ -134,36 +134,6 @@ pub trait OutputStreamExt: 'static {
134
134
bytes : & glib:: Bytes ,
135
135
io_priority : glib:: Priority ,
136
136
) -> Pin < Box_ < dyn std:: future:: Future < Output = Result < isize , glib:: Error > > + ' static > > ;
137
-
138
- //#[cfg(any(feature = "v2_60", feature = "dox"))]
139
- //#[cfg_attr(feature = "dox", doc(cfg(feature = "v2_60")))]
140
- //#[doc(alias = "g_output_stream_writev")]
141
- //fn writev(&self, vectors: /*Ignored*/&[OutputVector], cancellable: Option<&impl IsA<Cancellable>>) -> Result<usize, glib::Error>;
142
-
143
- //#[cfg(any(feature = "v2_60", feature = "dox"))]
144
- //#[cfg_attr(feature = "dox", doc(cfg(feature = "v2_60")))]
145
- //#[doc(alias = "g_output_stream_writev_all")]
146
- //fn writev_all(&self, vectors: /*Ignored*/&[OutputVector], cancellable: Option<&impl IsA<Cancellable>>) -> Result<usize, glib::Error>;
147
-
148
- //#[cfg(any(feature = "v2_60", feature = "dox"))]
149
- //#[cfg_attr(feature = "dox", doc(cfg(feature = "v2_60")))]
150
- //#[doc(alias = "g_output_stream_writev_all_async")]
151
- //fn writev_all_async<P: FnOnce(Result<usize, glib::Error>) + 'static>(&self, vectors: /*Ignored*/&[OutputVector], io_priority: glib::Priority, cancellable: Option<&impl IsA<Cancellable>>, callback: P);
152
-
153
- //
154
- //#[cfg(any(feature = "v2_60", feature = "dox"))]
155
- //#[cfg_attr(feature = "dox", doc(cfg(feature = "v2_60")))]
156
- //fn writev_all_future(&self, vectors: /*Ignored*/&[OutputVector], io_priority: glib::Priority) -> Pin<Box_<dyn std::future::Future<Output = Result<usize, glib::Error>> + 'static>>;
157
-
158
- //#[cfg(any(feature = "v2_60", feature = "dox"))]
159
- //#[cfg_attr(feature = "dox", doc(cfg(feature = "v2_60")))]
160
- //#[doc(alias = "g_output_stream_writev_async")]
161
- //fn writev_async<P: FnOnce(Result<usize, glib::Error>) + 'static>(&self, vectors: /*Ignored*/&[OutputVector], io_priority: glib::Priority, cancellable: Option<&impl IsA<Cancellable>>, callback: P);
162
-
163
- //
164
- //#[cfg(any(feature = "v2_60", feature = "dox"))]
165
- //#[cfg_attr(feature = "dox", doc(cfg(feature = "v2_60")))]
166
- //fn writev_future(&self, vectors: /*Ignored*/&[OutputVector], io_priority: glib::Priority) -> Pin<Box_<dyn std::future::Future<Output = Result<usize, glib::Error>> + 'static>>;
167
137
}
168
138
169
139
impl < O : IsA < OutputStream > > OutputStreamExt for O {
@@ -583,66 +553,6 @@ impl<O: IsA<OutputStream>> OutputStreamExt for O {
583
553
} ,
584
554
) )
585
555
}
586
-
587
- //#[cfg(any(feature = "v2_60", feature = "dox"))]
588
- //#[cfg_attr(feature = "dox", doc(cfg(feature = "v2_60")))]
589
- //fn writev(&self, vectors: /*Ignored*/&[OutputVector], cancellable: Option<&impl IsA<Cancellable>>) -> Result<usize, glib::Error> {
590
- // unsafe { TODO: call ffi:g_output_stream_writev() }
591
- //}
592
-
593
- //#[cfg(any(feature = "v2_60", feature = "dox"))]
594
- //#[cfg_attr(feature = "dox", doc(cfg(feature = "v2_60")))]
595
- //fn writev_all(&self, vectors: /*Ignored*/&[OutputVector], cancellable: Option<&impl IsA<Cancellable>>) -> Result<usize, glib::Error> {
596
- // unsafe { TODO: call ffi:g_output_stream_writev_all() }
597
- //}
598
-
599
- //#[cfg(any(feature = "v2_60", feature = "dox"))]
600
- //#[cfg_attr(feature = "dox", doc(cfg(feature = "v2_60")))]
601
- //fn writev_all_async<P: FnOnce(Result<usize, glib::Error>) + 'static>(&self, vectors: /*Ignored*/&[OutputVector], io_priority: glib::Priority, cancellable: Option<&impl IsA<Cancellable>>, callback: P) {
602
- // unsafe { TODO: call ffi:g_output_stream_writev_all_async() }
603
- //}
604
-
605
- //
606
- //#[cfg(any(feature = "v2_60", feature = "dox"))]
607
- //#[cfg_attr(feature = "dox", doc(cfg(feature = "v2_60")))]
608
- //fn writev_all_future(&self, vectors: /*Ignored*/&[OutputVector], io_priority: glib::Priority) -> Pin<Box_<dyn std::future::Future<Output = Result<usize, glib::Error>> + 'static>> {
609
-
610
- //let vectors = vectors.clone();
611
- //Box_::pin(crate::GioFuture::new(self, move |obj, cancellable, send| {
612
- // obj.writev_all_async(
613
- // &vectors,
614
- // io_priority,
615
- // Some(cancellable),
616
- // move |res| {
617
- // send.resolve(res);
618
- // },
619
- // );
620
- //}))
621
- //}
622
-
623
- //#[cfg(any(feature = "v2_60", feature = "dox"))]
624
- //#[cfg_attr(feature = "dox", doc(cfg(feature = "v2_60")))]
625
- //fn writev_async<P: FnOnce(Result<usize, glib::Error>) + 'static>(&self, vectors: /*Ignored*/&[OutputVector], io_priority: glib::Priority, cancellable: Option<&impl IsA<Cancellable>>, callback: P) {
626
- // unsafe { TODO: call ffi:g_output_stream_writev_async() }
627
- //}
628
-
629
- //
630
- //#[cfg(any(feature = "v2_60", feature = "dox"))]
631
- //#[cfg_attr(feature = "dox", doc(cfg(feature = "v2_60")))]
632
- //fn writev_future(&self, vectors: /*Ignored*/&[OutputVector], io_priority: glib::Priority) -> Pin<Box_<dyn std::future::Future<Output = Result<usize, glib::Error>> + 'static>> {
633
-
634
- //let vectors = vectors.clone();
635
- //Box_::pin(crate::GioFuture::new(self, move |obj, cancellable, send| {
636
- // obj.writev_async(
637
- // &vectors,
638
- // io_priority,
639
- // Some(cancellable),
640
- // move |res| {
641
- // send.resolve(res);
642
- // },
643
- // );
644
- //}))
645
- //}
646
556
}
647
557
648
558
impl fmt:: Display for OutputStream {
0 commit comments