pub struct AdapterRef(/* private fields */);Expand description
Defines the adapter ref SDK value. Construction records local state only; documented runtimes, executors, or ports own side effects.
Implementations§
Source§impl AdapterRef
impl AdapterRef
Sourcepub fn new(value: impl Into<String>) -> Self
pub fn new(value: impl Into<String>) -> Self
Creates a new domain::refs value with explicit caller-provided inputs. This constructor is data-only and performs no I/O or external side effects.
§Panics
Panics if constructor invariants fail, such as invalid identifier
text or constructor-specific bounds. Use a fallible constructor such as
try_new when one is available for untrusted input.
Trait Implementations§
Source§impl Clone for AdapterRef
impl Clone for AdapterRef
Source§fn clone(&self) -> AdapterRef
fn clone(&self) -> AdapterRef
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AdapterRef
impl Debug for AdapterRef
Source§impl<'de> Deserialize<'de> for AdapterRef
impl<'de> Deserialize<'de> for AdapterRef
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for AdapterRef
impl Display for AdapterRef
impl Eq for AdapterRef
Source§impl From<&str> for AdapterRef
impl From<&str> for AdapterRef
Source§impl Hash for AdapterRef
impl Hash for AdapterRef
Source§impl Ord for AdapterRef
impl Ord for AdapterRef
Source§fn cmp(&self, other: &AdapterRef) -> Ordering
fn cmp(&self, other: &AdapterRef) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for AdapterRef
impl PartialEq for AdapterRef
Source§fn eq(&self, other: &AdapterRef) -> bool
fn eq(&self, other: &AdapterRef) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for AdapterRef
impl PartialOrd for AdapterRef
Source§impl Serialize for AdapterRef
impl Serialize for AdapterRef
impl StructuralPartialEq for AdapterRef
Auto Trait Implementations§
impl Freeze for AdapterRef
impl RefUnwindSafe for AdapterRef
impl Send for AdapterRef
impl Sync for AdapterRef
impl Unpin for AdapterRef
impl UnsafeUnpin for AdapterRef
impl UnwindSafe for AdapterRef
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