[−][src]Struct actions_core::Core
Methods
impl Core<Stdout>
[src]
impl<W> Core<W> where
W: Write,
[src]
W: Write,
pub fn input<K: ToString>(_: &Self, name: K) -> Result<String, VarError>
[src]
pub fn set_output<K: ToString, V: ToString>(&mut self, k: K, v: V) -> Result<()>
[src]
pub fn set_env<K: ToString, V: ToString>(&mut self, k: K, v: V) -> Result<()>
[src]
pub fn add_mask<V: ToString>(&mut self, v: V) -> Result<()>
[src]
pub fn add_path<P: ToString>(&mut self, v: P) -> Result<()>
[src]
pub fn save_state<K: ToString, V: ToString>(&mut self, k: K, v: V) -> Result<()>
[src]
pub fn state<K: ToString>(_: &Self, name: K) -> Result<String, VarError>
[src]
pub fn stop_logging<F, T>(&mut self, f: F) -> Result<T> where
F: FnOnce() -> T,
[src]
F: FnOnce() -> T,
pub fn is_debug(_: &Self) -> bool
[src]
pub fn log_message<M: ToString>(
&mut self,
level: LogLevel,
message: M
) -> Result<()>
[src]
&mut self,
level: LogLevel,
message: M
) -> Result<()>
pub fn debug<M: ToString>(&mut self, message: M) -> Result<()>
[src]
pub fn error<M: ToString>(&mut self, message: M) -> Result<()>
[src]
pub fn warning<M: ToString>(&mut self, message: M) -> Result<()>
[src]
pub fn log<M: ToString>(&mut self, level: LogLevel, log: Log<M>) -> Result<()>
[src]
pub fn log_debug<M: ToString>(&mut self, log: Log<M>) -> Result<()>
[src]
pub fn log_error<M: ToString>(&mut self, log: Log<M>) -> Result<()>
[src]
pub fn log_warning<M: ToString>(&mut self, log: Log<M>) -> Result<()>
[src]
Trait Implementations
Auto Trait Implementations
impl<W> RefUnwindSafe for Core<W> where
W: RefUnwindSafe,
W: RefUnwindSafe,
impl<W> Send for Core<W> where
W: Send,
W: Send,
impl<W> Sync for Core<W> where
W: Sync,
W: Sync,
impl<W> Unpin for Core<W> where
W: Unpin,
W: Unpin,
impl<W> UnwindSafe for Core<W> where
W: UnwindSafe,
W: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,