Struct sandstorm::email_capnp::verified_email_send_port::Client
source · pub struct Client {
pub client: Client,
}
Fields§
§client: Client
Trait Implementations§
source§impl FromClientHook for Client
impl FromClientHook for Client
source§fn new(hook: Box<dyn ClientHook>) -> Self
fn new(hook: Box<dyn ClientHook>) -> Self
Wraps a client hook to create a new 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) -> Self
fn get_from_pointer( builder: PointerBuilder<'a>, _default: Option<&'a [Word]> ) -> Result<Self>
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<Self>
source§impl<_S: Server + 'static> FromServer<_S> for Client
impl<_S: Server + 'static> FromServer<_S> for Client
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: Self,
_canonicalize: bool
) -> Result<()>
fn set_pointer_builder( pointer: PointerBuilder<'_>, from: Self, _canonicalize: bool ) -> Result<()>
Copies the values from
input
into builder
, where builder
represents the backing memory of a <Receiver as Owned>::Builder
. Read moreAuto Trait Implementations§
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