[−][src]Struct exocore_core::framing::capnp::CapnpFrameBuilder
Capnproto frame builder
Implementations
impl<T> CapnpFrameBuilder<T> where
T: for<'a> MessageType<'a>,
[src]
T: for<'a> MessageType<'a>,
pub fn new() -> CapnpFrameBuilder<T>
[src]
pub fn get_builder(&mut self) -> <T as Owned<'_>>::Builder
[src]
Trait Implementations
impl<T> Default for CapnpFrameBuilder<T> where
T: for<'a> MessageType<'a>,
[src]
T: for<'a> MessageType<'a>,
impl<T> FrameBuilder for CapnpFrameBuilder<T> where
T: for<'a> MessageType<'a>,
[src]
T: for<'a> MessageType<'a>,
type OwnedFrameType = TypedCapnpFrame<Vec<u8>, T>
pub fn write_to<W: Write>(&self, writer: &mut W) -> Result<usize, Error>
[src]
pub fn write_into(&self, into: &mut [u8]) -> Result<usize, Error>
[src]
pub fn expected_size(&self) -> Option<usize>
[src]
pub fn as_owned_frame(&self) -> Self::OwnedFrameType
[src]
pub fn as_bytes(&self) -> Vec<u8>
[src]
Auto Trait Implementations
impl<T> !RefUnwindSafe for CapnpFrameBuilder<T>
impl<T> Send for CapnpFrameBuilder<T> where
T: Send,
T: Send,
impl<T> !Sync for CapnpFrameBuilder<T>
impl<T> Unpin for CapnpFrameBuilder<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for CapnpFrameBuilder<T> where
T: UnwindSafe,
T: UnwindSafe,
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> Same<T> for T
type Output = T
Should always be Self
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,