Lines Matching defs:Result
206 pub fn write<S: Serialize + ?Sized>(&mut self, parcelable: &S) -> Result<()> { in write()
214 pub fn write_slice_size<T>(&mut self, slice: Option<&[T]>) -> Result<()> { in write_slice_size()
252 for<'b> F: FnOnce(&'b mut WritableSubParcel<'b>) -> Result<()>, in sized_write()
299 pub unsafe fn set_data_position(&self, pos: i32) -> Result<()> { in set_data_position()
314 ) -> Result<()> { in append_from()
325 pub fn append_all_from(&mut self, other: &impl AsNative<sys::AParcel>) -> Result<()> { in append_all_from()
338 pub fn write<S: Serialize + ?Sized>(&mut self, parcelable: &S) -> Result<()> { in write()
350 pub fn write<S: Serialize + ?Sized>(&mut self, parcelable: &S) -> Result<()> { in write()
358 pub fn write_slice_size<T>(&mut self, slice: Option<&[T]>) -> Result<()> { in write_slice_size()
391 for<'b> F: FnOnce(&'b mut WritableSubParcel<'b>) -> Result<()>, in sized_write()
415 pub unsafe fn set_data_position(&self, pos: i32) -> Result<()> { in set_data_position()
430 ) -> Result<()> { in append_from()
435 pub fn append_all_from(&mut self, other: &impl AsNative<sys::AParcel>) -> Result<()> { in append_all_from()
450 pub fn read_onto<D: Deserialize>(&self, x: &mut D) -> Result<()> { in read_onto()
484 for<'b> F: FnOnce(ReadableSubParcel<'b>) -> Result<()>, in sized_read()
520 pub fn resize_out_vec<D: Default + Deserialize>(&self, out_vec: &mut Vec<D>) -> Result<()> { in resize_out_vec()
543 ) -> Result<()> { in resize_nullable_out_vec()
587 pub fn read_onto<D: Deserialize>(&self, x: &mut D) -> Result<()> { in read_onto()
621 for<'b> F: FnOnce(ReadableSubParcel<'b>) -> Result<()>, in sized_read()
631 pub fn resize_out_vec<D: Default + Deserialize>(&self, out_vec: &mut Vec<D>) -> Result<()> { in resize_out_vec()
644 ) -> Result<()> { in resize_nullable_out_vec()
651 pub(crate) fn write_binder(&mut self, binder: Option<&SpIBinder>) -> Result<()> { in write_binder()
698 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt()
704 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt()