pub struct PollId(/* private fields */);Available on crate feature
points only.Expand description
A poll ID
Implementations§
Source§impl PollId
impl PollId
Sourcepub fn from_static(raw: &'static str) -> Self
pub fn from_static(raw: &'static str) -> Self
Constructs a newPollIdfrom a static reference
Sourcepub fn into_boxed_ref(self) -> Box<PollIdRef>
pub fn into_boxed_ref(self) -> Box<PollIdRef>
Converts this PollId into a Box<PollIdRef>
This will drop any excess capacity.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PollId
Available on crate feature serde only.
impl<'de> Deserialize<'de> for PollId
Available on crate feature
serde only.Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PollId
Source§impl Ord for PollId
impl Ord for PollId
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 PartialOrd for PollId
impl PartialOrd for PollId
impl StructuralPartialEq for PollId
Auto Trait Implementations§
impl Freeze for PollId
impl RefUnwindSafe for PollId
impl Send for PollId
impl Sync for PollId
impl Unpin for PollId
impl UnsafeUnpin for PollId
impl UnwindSafe for PollId
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