pub struct Client {
pub client: Client,
}Fields§
§client: ClientImplementations§
Trait Implementations§
Source§impl FromClientHook for Client
impl FromClientHook for Client
Source§fn into_client_hook(self) -> Box<dyn ClientHook>
fn into_client_hook(self) -> Box<dyn ClientHook>
Unwraps client to get the underlying client hook.
Source§fn as_client_hook(&self) -> &dyn ClientHook
fn as_client_hook(&self) -> &dyn ClientHook
Gets a reference to the underlying client hook.
Source§fn cast_to<T>(self) -> Twhere
T: FromClientHook,
Self: Sized,
fn cast_to<T>(self) -> Twhere
T: FromClientHook,
Self: Sized,
Casts
self to another instance of FromClientHook. This always succeeds,
but if the underlying capability does not actually implement T’s interface,
then method calls will fail with “unimplemented” errors.Source§impl<'a> FromPointerBuilder<'a> for Client
impl<'a> FromPointerBuilder<'a> for Client
fn init_pointer(_builder: PointerBuilder<'a>, _size: u32) -> Client
fn get_from_pointer( builder: PointerBuilder<'a>, _default: Option<&'a [Word]>, ) -> Result<Client, Error>
Source§impl<'a> FromPointerReader<'a> for Client
impl<'a> FromPointerReader<'a> for Client
fn get_from_pointer( reader: &PointerReader<'a>, _default: Option<&'a [Word]>, ) -> Result<Client, Error>
Source§impl<_S> FromServer<_S> for Clientwhere
_S: Server + 'static,
impl<_S> FromServer<_S> for Clientwhere
_S: Server + 'static,
type Dispatch = ServerDispatch<_S>
fn from_server(s: _S) -> ServerDispatch<_S>
Source§impl SetterInput<Owned> for Client
impl SetterInput<Owned> for Client
Source§fn set_pointer_builder(
pointer: PointerBuilder<'_>,
from: Client,
_canonicalize: bool,
) -> Result<(), Error>
fn set_pointer_builder( pointer: PointerBuilder<'_>, from: Client, _canonicalize: bool, ) -> Result<(), Error>
Copies the values from
input into builder, where builder
represents the backing memory of a <Receiver as Owned>::Builder. Read moreAuto Trait Implementations§
impl Freeze for Client
impl !RefUnwindSafe for Client
impl !Send for Client
impl !Sync for Client
impl Unpin for Client
impl !UnwindSafe for Client
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