pub enum Bartoc {
Record(Data),
ClientInfo(BartocInfo),
}Expand description
A websocket binary message from bartoc to bartos
Variants§
Trait Implementations§
Source§impl<'de, Context> BorrowDecode<'de, Context> for Bartoc
impl<'de, Context> BorrowDecode<'de, Context> for Bartoc
Source§fn borrow_decode<D: BorrowDecoder<'de, Context = Context>>(
decoder: &mut D,
) -> Result<Self, DecodeError>
fn borrow_decode<D: BorrowDecoder<'de, Context = Context>>( decoder: &mut D, ) -> Result<Self, DecodeError>
Attempt to decode this type with the given BorrowDecode.
impl Eq for Bartoc
impl StructuralPartialEq for Bartoc
Auto Trait Implementations§
impl Freeze for Bartoc
impl RefUnwindSafe for Bartoc
impl Send for Bartoc
impl Sync for Bartoc
impl Unpin for Bartoc
impl UnwindSafe for Bartoc
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