Struct gio::InputStreamAsyncRead
source · pub struct InputStreamAsyncRead<T: IsA<PollableInputStream>>(/* private fields */);
Implementations§
source§impl<T: IsA<PollableInputStream>> InputStreamAsyncRead<T>
impl<T: IsA<PollableInputStream>> InputStreamAsyncRead<T>
pub fn into_input_stream(self) -> T
pub fn input_stream(&self) -> &T
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for InputStreamAsyncRead<T>where
T: Borrow<PollableInputStream> + AsRef<PollableInputStream> + Into<PollableInputStream> + ObjectType + IntoGlibPtr<*mut <T as ObjectType>::GlibType> + for<'a> ToGlibPtr<'a, *mut <T as ObjectType>::GlibType> + FromValueOptional<'static> + FromValueOptionalSealed<'static> + ToValueOptional + ToValue + ValueType + for<'a> FromValue<'a> + Hash + Ord + PartialOrd + Eq + PartialEq + Clone + Debug + StaticType + Into<ObjectRef> + UnsafeFrom<ObjectRef> + 'static + Freeze,
impl<T> RefUnwindSafe for InputStreamAsyncRead<T>where
T: Borrow<PollableInputStream> + AsRef<PollableInputStream> + Into<PollableInputStream> + ObjectType + IntoGlibPtr<*mut <T as ObjectType>::GlibType> + for<'a> ToGlibPtr<'a, *mut <T as ObjectType>::GlibType> + FromValueOptional<'static> + FromValueOptionalSealed<'static> + ToValueOptional + ToValue + ValueType + for<'a> FromValue<'a> + Hash + Ord + PartialOrd + Eq + PartialEq + Clone + Debug + StaticType + Into<ObjectRef> + UnsafeFrom<ObjectRef> + 'static + RefUnwindSafe,
impl<T> Send for InputStreamAsyncRead<T>where
T: Borrow<PollableInputStream> + AsRef<PollableInputStream> + Into<PollableInputStream> + ObjectType + IntoGlibPtr<*mut <T as ObjectType>::GlibType> + for<'a> ToGlibPtr<'a, *mut <T as ObjectType>::GlibType> + FromValueOptional<'static> + FromValueOptionalSealed<'static> + ToValueOptional + ToValue + ValueType + for<'a> FromValue<'a> + Hash + Ord + PartialOrd + Eq + PartialEq + Clone + Debug + StaticType + Into<ObjectRef> + UnsafeFrom<ObjectRef> + 'static + Send,
impl<T> Sync for InputStreamAsyncRead<T>where
T: Borrow<PollableInputStream> + AsRef<PollableInputStream> + Into<PollableInputStream> + ObjectType + IntoGlibPtr<*mut <T as ObjectType>::GlibType> + for<'a> ToGlibPtr<'a, *mut <T as ObjectType>::GlibType> + FromValueOptional<'static> + FromValueOptionalSealed<'static> + ToValueOptional + ToValue + ValueType + for<'a> FromValue<'a> + Hash + Ord + PartialOrd + Eq + PartialEq + Clone + Debug + StaticType + Into<ObjectRef> + UnsafeFrom<ObjectRef> + 'static + Sync,
impl<T> Unpin for InputStreamAsyncRead<T>where
T: Borrow<PollableInputStream> + AsRef<PollableInputStream> + Into<PollableInputStream> + ObjectType + IntoGlibPtr<*mut <T as ObjectType>::GlibType> + for<'a> ToGlibPtr<'a, *mut <T as ObjectType>::GlibType> + FromValueOptional<'static> + FromValueOptionalSealed<'static> + ToValueOptional + ToValue + ValueType + for<'a> FromValue<'a> + Hash + Ord + PartialOrd + Eq + PartialEq + Clone + Debug + StaticType + Into<ObjectRef> + UnsafeFrom<ObjectRef> + 'static + Unpin,
impl<T> UnwindSafe for InputStreamAsyncRead<T>where
T: Borrow<PollableInputStream> + AsRef<PollableInputStream> + Into<PollableInputStream> + ObjectType + IntoGlibPtr<*mut <T as ObjectType>::GlibType> + for<'a> ToGlibPtr<'a, *mut <T as ObjectType>::GlibType> + FromValueOptional<'static> + FromValueOptionalSealed<'static> + ToValueOptional + ToValue + ValueType + for<'a> FromValue<'a> + Hash + Ord + PartialOrd + Eq + PartialEq + Clone + Debug + StaticType + Into<ObjectRef> + UnsafeFrom<ObjectRef> + 'static + UnwindSafe,
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