Trait zenoh_codec::WCodec

source ·
pub trait WCodec<Message, Buffer> {
    type Output;

    // Required method
    fn write(self, buffer: Buffer, message: Message) -> Self::Output;
}

Required Associated Types§

Required Methods§

source

fn write(self, buffer: Buffer, message: Message) -> Self::Output

Implementors§

source§

impl<W> WCodec<&Encoding, &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<&Priority, &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<&DeclareBody, &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<&PushBody, &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<&RequestBody, &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<&ResponseBody, &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<&str, &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<&str, &mut W> for Zenoh080Bounded<u8>
where W: Writer,

source§

impl<W> WCodec<&str, &mut W> for Zenoh080Bounded<u16>
where W: Writer,

source§

impl<W> WCodec<&str, &mut W> for Zenoh080Bounded<u32>
where W: Writer,

source§

impl<W> WCodec<&str, &mut W> for Zenoh080Bounded<u64>
where W: Writer,

source§

impl<W> WCodec<&str, &mut W> for Zenoh080Bounded<usize>
where W: Writer,

source§

impl<W> WCodec<&u8, &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<&u16, &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<&u32, &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<&u64, &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<&usize, &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<&String, &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<&String, &mut W> for Zenoh080Bounded<u8>
where W: Writer,

source§

impl<W> WCodec<&String, &mut W> for Zenoh080Bounded<u16>
where W: Writer,

source§

impl<W> WCodec<&String, &mut W> for Zenoh080Bounded<u32>
where W: Writer,

source§

impl<W> WCodec<&String, &mut W> for Zenoh080Bounded<u64>
where W: Writer,

source§

impl<W> WCodec<&String, &mut W> for Zenoh080Bounded<usize>
where W: Writer,

source§

impl<W> WCodec<&Timestamp, &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<&ZBuf, &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<&ZBuf, &mut W> for Zenoh080Bounded<u8>
where W: Writer,

source§

impl<W> WCodec<&ZBuf, &mut W> for Zenoh080Bounded<u16>
where W: Writer,

source§

impl<W> WCodec<&ZBuf, &mut W> for Zenoh080Bounded<u32>
where W: Writer,

source§

impl<W> WCodec<&ZBuf, &mut W> for Zenoh080Bounded<u64>
where W: Writer,

source§

impl<W> WCodec<&ZBuf, &mut W> for Zenoh080Bounded<usize>
where W: Writer,

source§

impl<W> WCodec<&ZSlice, &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<&ZSlice, &mut W> for Zenoh080Bounded<u8>
where W: Writer,

source§

impl<W> WCodec<&ZSlice, &mut W> for Zenoh080Bounded<u16>
where W: Writer,

source§

impl<W> WCodec<&ZSlice, &mut W> for Zenoh080Bounded<u32>
where W: Writer,

source§

impl<W> WCodec<&ZSlice, &mut W> for Zenoh080Bounded<u64>
where W: Writer,

source§

impl<W> WCodec<&ZSlice, &mut W> for Zenoh080Bounded<usize>
where W: Writer,

source§

impl<W> WCodec<&Locator, &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<&Property, &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<&ZenohId, &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<&ZenohId, &mut W> for Zenoh080Length
where W: Writer,

source§

impl<W> WCodec<&WireExpr<'_>, &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<&DeclareInterest, &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<&FinalInterest, &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<&UndeclareInterest, &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<&DeclareKeyExpr, &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<&UndeclareKeyExpr, &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<&DeclareQueryable, &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<&UndeclareQueryable, &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<&Declare, &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<&DeclareSubscriber, &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<&UndeclareSubscriber, &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<&DeclareToken, &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<&UndeclareToken, &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<&Oam, &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<&Push, &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<&Request, &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<&Response, &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<&ResponseFinal, &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<&NetworkMessage, &mut W> for &mut Zenoh080Batch

source§

impl<W> WCodec<&NetworkMessage, &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<&Hello, &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<&Scout, &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<&ScoutingMessage, &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<&Close, &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<&Fragment, &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<&FragmentHeader, &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<&Frame, &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<&FrameHeader, &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<&InitAck, &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<&InitSyn, &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<&Join, &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<&KeepAlive, &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<&Oam, &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<&OpenAck, &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<&OpenSyn, &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<&PrioritySn, &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<&TransportMessage, &mut W> for &mut Zenoh080Batch

source§

impl<W> WCodec<&TransportMessage, &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<&TransportMessageLowLatency, &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<&Ack, &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<&Del, &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<&Err, &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<&Pull, &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<&Put, &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<&Query, &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<&Reply, &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<&[u8; 1], &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<&[u8; 2], &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<&[u8; 3], &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<&[u8; 4], &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<&[u8; 5], &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<&[u8; 6], &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<&[u8; 7], &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<&[u8; 8], &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<&[u8; 9], &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<&[u8; 10], &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<&[u8; 11], &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<&[u8; 12], &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<&[u8; 13], &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<&[u8; 14], &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<&[u8; 15], &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<&[u8; 16], &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<&[u8], &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<&[u8], &mut W> for Zenoh080Bounded<u8>
where W: Writer,

source§

impl<W> WCodec<&[u8], &mut W> for Zenoh080Bounded<u16>
where W: Writer,

source§

impl<W> WCodec<&[u8], &mut W> for Zenoh080Bounded<u32>
where W: Writer,

source§

impl<W> WCodec<&[u8], &mut W> for Zenoh080Bounded<u64>
where W: Writer,

source§

impl<W> WCodec<&[u8], &mut W> for Zenoh080Bounded<usize>
where W: Writer,

source§

impl<W> WCodec<&[ZExtUnknown], &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<&[Locator], &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<&[Property], &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<(&QueryTarget, bool), &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<(&Box<[PrioritySn; 8]>, bool), &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<(&ZExtUnknown, bool), &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<(&WireExprType, bool), &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<(&NetworkMessage, &FrameHeader), &mut W> for &mut Zenoh080Batch

source§

impl<W> WCodec<(&mut ZBufReader<'_>, &mut FragmentHeader), &mut W> for &mut Zenoh080Batch

source§

impl<W> WCodec<(Consolidation, bool), &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<(QueryableInfo, bool), &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<(SubscriberInfo, bool), &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<u8, &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<u8, &mut W> for Zenoh080Bounded<u8>
where W: Writer,

source§

impl<W> WCodec<u8, &mut W> for Zenoh080Bounded<u16>
where W: Writer,

source§

impl<W> WCodec<u8, &mut W> for Zenoh080Bounded<u32>
where W: Writer,

source§

impl<W> WCodec<u8, &mut W> for Zenoh080Bounded<u64>
where W: Writer,

source§

impl<W> WCodec<u8, &mut W> for Zenoh080Bounded<usize>
where W: Writer,

source§

impl<W> WCodec<u16, &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<u16, &mut W> for Zenoh080Bounded<u8>
where W: Writer,

source§

impl<W> WCodec<u16, &mut W> for Zenoh080Bounded<u16>
where W: Writer,

source§

impl<W> WCodec<u16, &mut W> for Zenoh080Bounded<u32>
where W: Writer,

source§

impl<W> WCodec<u16, &mut W> for Zenoh080Bounded<u64>
where W: Writer,

source§

impl<W> WCodec<u16, &mut W> for Zenoh080Bounded<usize>
where W: Writer,

source§

impl<W> WCodec<u32, &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<u32, &mut W> for Zenoh080Bounded<u8>
where W: Writer,

source§

impl<W> WCodec<u32, &mut W> for Zenoh080Bounded<u16>
where W: Writer,

source§

impl<W> WCodec<u32, &mut W> for Zenoh080Bounded<u32>
where W: Writer,

source§

impl<W> WCodec<u32, &mut W> for Zenoh080Bounded<u64>
where W: Writer,

source§

impl<W> WCodec<u32, &mut W> for Zenoh080Bounded<usize>
where W: Writer,

source§

impl<W> WCodec<u64, &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<u64, &mut W> for Zenoh080Bounded<u8>
where W: Writer,

source§

impl<W> WCodec<u64, &mut W> for Zenoh080Bounded<u16>
where W: Writer,

source§

impl<W> WCodec<u64, &mut W> for Zenoh080Bounded<u32>
where W: Writer,

source§

impl<W> WCodec<u64, &mut W> for Zenoh080Bounded<u64>
where W: Writer,

source§

impl<W> WCodec<u64, &mut W> for Zenoh080Bounded<usize>
where W: Writer,

source§

impl<W> WCodec<usize, &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<usize, &mut W> for Zenoh080Bounded<u8>
where W: Writer,

source§

impl<W> WCodec<usize, &mut W> for Zenoh080Bounded<u16>
where W: Writer,

source§

impl<W> WCodec<usize, &mut W> for Zenoh080Bounded<u32>
where W: Writer,

source§

impl<W> WCodec<usize, &mut W> for Zenoh080Bounded<u64>
where W: Writer,

source§

impl<W> WCodec<usize, &mut W> for Zenoh080Bounded<usize>
where W: Writer,

source§

impl<W> WCodec<[u8; 1], &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<[u8; 2], &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<[u8; 3], &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<[u8; 4], &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<[u8; 5], &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<[u8; 6], &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<[u8; 7], &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<[u8; 8], &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<[u8; 9], &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<[u8; 10], &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<[u8; 11], &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<[u8; 12], &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<[u8; 13], &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<[u8; 14], &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<[u8; 15], &mut W> for Zenoh080
where W: Writer,

source§

impl<W> WCodec<[u8; 16], &mut W> for Zenoh080
where W: Writer,

source§

impl<W, const ID: u8> WCodec<(&EntityIdType<ID>, bool), &mut W> for Zenoh080
where W: Writer,

source§

impl<W, const ID: u8> WCodec<(&TimestampType<ID>, bool), &mut W> for Zenoh080
where W: Writer,

source§

impl<W, const ID: u8> WCodec<(&AttachmentType<ID>, bool), &mut W> for Zenoh080
where W: Writer,

source§

impl<W, const ID: u8> WCodec<(&SourceInfoType<ID>, bool), &mut W> for Zenoh080
where W: Writer,

source§

impl<W, const ID: u8> WCodec<(NodeIdType<ID>, bool), &mut W> for Zenoh080
where W: Writer,

source§

impl<W, const ID: u8> WCodec<(QoSType<ID>, bool), &mut W> for Zenoh080
where W: Writer,

source§

impl<W, const ID: u8> WCodec<(QoSType<ID>, bool), &mut W> for Zenoh080
where W: Writer,

source§

impl<W, const VID: u8, const SID: u8> WCodec<(&ValueType<VID, SID>, bool), &mut W> for Zenoh080
where W: Writer,

source§

impl<const ID: u8, W> WCodec<(&ZExtUnit<ID>, bool), &mut W> for Zenoh080
where W: Writer,

source§

impl<const ID: u8, W> WCodec<(&ZExtZ64<ID>, bool), &mut W> for Zenoh080
where W: Writer,

source§

impl<const ID: u8, W> WCodec<(&ZExtZBuf<ID>, bool), &mut W> for Zenoh080
where W: Writer,

source§

impl<const ID: u8, W> WCodec<(&ZExtZBufHeader<ID>, bool), &mut W> for Zenoh080
where W: Writer,