Struct gnunet_sys::GNUNET_BIO_WriteSpec [−][src]
Structure specifying a writing operation on an IO handle.
Fields
wh: GNUNET_BIO_WriteHandler
Function performing data serialization.
cls: *mut c_void
Closure for @e rh. Can be NULL.
what: *const c_char
What is being read (for error message creation)
source: *mut c_void
Source buffer. The data in this buffer will be written to the handle.
source_size: usize
Size of @e source. If it’s smaller than the real size of @e source, only this many bytes will be written.
Trait Implementations
impl Clone for GNUNET_BIO_WriteSpec
[src]
fn clone(&self) -> GNUNET_BIO_WriteSpec
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for GNUNET_BIO_WriteSpec
[src]
impl Debug for GNUNET_BIO_WriteSpec
[src]
Auto Trait Implementations
impl RefUnwindSafe for GNUNET_BIO_WriteSpec
impl !Send for GNUNET_BIO_WriteSpec
impl !Sync for GNUNET_BIO_WriteSpec
impl Unpin for GNUNET_BIO_WriteSpec
impl UnwindSafe for GNUNET_BIO_WriteSpec
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,