pub struct VncParameters<T> {
pub listener: T,
pub framebuffer: FramebufferAccess,
pub input_send: Sender<InputData>,
}
Expand description
The VNC server’s input parameters.
Fields§
§listener: T
The socket the VNC server will listen on
framebuffer: FramebufferAccess
The framebuffer memory.
input_send: Sender<InputData>
A channel to send input to.
Trait Implementations§
Source§impl<T> DefaultEncoding for VncParameters<T>
impl<T> DefaultEncoding for VncParameters<T>
Source§type Encoding = TableEncoder
type Encoding = TableEncoder
The encoding to use for the serialization. Read more
Source§impl<'encoding, T> StructDecodeMetadata<'encoding, Resource> for VncParameters<T>
impl<'encoding, T> StructDecodeMetadata<'encoding, Resource> for VncParameters<T>
Source§const DECODERS: &'static [ErasedDecoderEntry]
const DECODERS: &'static [ErasedDecoderEntry]
The list of decoder vtables.
Source§impl<T> StructEncodeMetadata<Resource> for VncParameters<T>
impl<T> StructEncodeMetadata<Resource> for VncParameters<T>
Source§const ENCODERS: &'static [ErasedEncoderEntry]
const ENCODERS: &'static [ErasedEncoderEntry]
The list of encoder vtables.
Auto Trait Implementations§
impl<T> Freeze for VncParameters<T>where
T: Freeze,
impl<T> !RefUnwindSafe for VncParameters<T>
impl<T> Send for VncParameters<T>where
T: Send,
impl<T> Sync for VncParameters<T>where
T: Sync,
impl<T> Unpin for VncParameters<T>where
T: Unpin,
impl<T> !UnwindSafe for VncParameters<T>
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> SerializeMessage for Twhere
T: 'static + MeshPayload + Send,
impl<T> SerializeMessage for Twhere
T: 'static + MeshPayload + Send,
Source§fn compute_message_size(&mut self, sizer: MessageSizer<'_>)
fn compute_message_size(&mut self, sizer: MessageSizer<'_>)
Computes the message size, as in
MessageEncode::compute_message_size
.Source§fn write_message(self, writer: MessageWriter<'_, '_, Resource>)
fn write_message(self, writer: MessageWriter<'_, '_, Resource>)
Writes the message, as in
MessageEncode::write_message
.Source§fn extract(self) -> <T as SerializeMessage>::Concrete
fn extract(self) -> <T as SerializeMessage>::Concrete
Extract the concrete message.