pub enum SwiftBindings {
Client,
Server,
ClientAndServer,
}Expand description
Controls which Swift bindings are generated for a service.
Variants§
Client
Generate client-side bindings (*Caller, *Client) and shared support code.
Server
Generate server-side bindings (*Handler, *ChannelingDispatcher) and shared support code.
ClientAndServer
Generate both client and server bindings (legacy default behavior).
Trait Implementations§
Source§impl Clone for SwiftBindings
impl Clone for SwiftBindings
Source§fn clone(&self) -> SwiftBindings
fn clone(&self) -> SwiftBindings
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SwiftBindings
impl Debug for SwiftBindings
Source§impl PartialEq for SwiftBindings
impl PartialEq for SwiftBindings
impl Copy for SwiftBindings
impl Eq for SwiftBindings
impl StructuralPartialEq for SwiftBindings
Auto Trait Implementations§
impl Freeze for SwiftBindings
impl RefUnwindSafe for SwiftBindings
impl Send for SwiftBindings
impl Sync for SwiftBindings
impl Unpin for SwiftBindings
impl UnsafeUnpin for SwiftBindings
impl UnwindSafe for SwiftBindings
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.